public class WindGateImporterPreparator extends BaseImporterPreparator<WindGateImporterDescription>
ImporterPreparator
for WindGateImporterDescription
s.Constructor and Description |
---|
WindGateImporterPreparator() |
Modifier and Type | Method and Description |
---|---|
<V> ModelOutput<V> |
createOutput(DataModelDefinition<V> definition,
WindGateImporterDescription description,
TestContext context)
Creates a
ModelOutput to prepare the resource which the importer will use. |
void |
truncate(WindGateImporterDescription description,
TestContext context)
Truncates all resources which the importer will use.
|
getDescriptionClass
public void truncate(WindGateImporterDescription description, TestContext context) throws IOException
ImporterPreparator
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, WindGateImporterDescription description, TestContext context) throws IOException
ImporterPreparator
ModelOutput
to prepare the resource which the importer will use.V
- type of modeldefinition
- the data model definitiondescription
- the descriptioncontext
- the current test contextModelOutput
IOException
- if failed to open the targetCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.