public class DirectFileOutputRetriever extends BaseExporterRetriever<DirectFileOutputDescription>
ExporterRetriever for DirectFileOutputDescription.| Constructor and Description |
|---|
DirectFileOutputRetriever() |
| Modifier and Type | Method and Description |
|---|---|
<V> ModelOutput<V> |
createOutput(DataModelDefinition<V> definition,
DirectFileOutputDescription description,
TestContext context)
Creates a
ModelOutput to prepare what the exporter will use. |
<V> DataModelSource |
createSource(DataModelDefinition<V> definition,
DirectFileOutputDescription description,
TestContext context)
Creates a
DataModelSource to retrieve what the target exporter had created. |
void |
truncate(DirectFileOutputDescription description,
TestContext context)
Truncates all resources which the exporter will use.
|
getDescriptionClasspublic void truncate(DirectFileOutputDescription description, TestContext context) throws IOException
ExporterRetrieverIf target resources do not support truncate operations, this method has no effects.
description - the descriptioncontext - the current test contextIOException - if failed to open the targetpublic <V> ModelOutput<V> createOutput(DataModelDefinition<V> definition, DirectFileOutputDescription description, TestContext context) throws IOException
ExporterRetrieverModelOutput to prepare what the exporter will use.V - type of modeldefinition - the data model definitiondescription - the descriptioncontext - the current test contextModelOutputIOException - if failed to open the targetpublic <V> DataModelSource createSource(DataModelDefinition<V> definition, DirectFileOutputDescription description, TestContext context) throws IOException
ExporterRetrieverDataModelSource to retrieve what the target exporter had created.V - type of modeldefinition - the data model definitiondescription - the descriptioncontext - the current test contextDataModelSourceIOException - if failed to open the targetCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.