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.
|
getDescriptionClass
public void truncate(DirectFileOutputDescription description, TestContext context) throws IOException
ExporterRetriever
If 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
ExporterRetriever
ModelOutput
to prepare what the exporter will use.V
- type of modeldefinition
- the data model definitiondescription
- the descriptioncontext
- the current test contextModelOutput
IOException
- if failed to open the targetpublic <V> DataModelSource createSource(DataModelDefinition<V> definition, DirectFileOutputDescription description, TestContext context) throws IOException
ExporterRetriever
DataModelSource
to retrieve what the target exporter had created.V
- type of modeldefinition
- the data model definitiondescription
- the descriptioncontext
- the current test contextDataModelSource
IOException
- if failed to open the targetCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.