Class FileOutputLoader
- java.lang.Object
-
- org.eclipse.mosaic.fed.output.ambassador.OutputGeneratorLoader
-
- org.eclipse.mosaic.fed.output.generator.file.FileOutputLoader
-
public class FileOutputLoader extends OutputGeneratorLoader
-
-
Constructor Summary
Constructors Constructor Description FileOutputLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
Subclasses implement this method to read additional custom configuration from the givenHierarchicalConfiguration
tree.AbstractOutputGenerator
createOutputGenerator()
Factory method for creating actual output generator based on the previously read configuration (OutputGeneratorLoader.configure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode>)
).InteractionFormatter
getInteractionFormatter()
Collection<String>
getInteractionTypes()
Returns a collection of supported interaction types.-
Methods inherited from class org.eclipse.mosaic.fed.output.ambassador.OutputGeneratorLoader
getConfigurationDirectory, getHandleEndTime, getHandleStartTime, getId, getRti, getUpdateIntervalInSeconds, initialize, loggerDirectory
-
-
-
-
Method Detail
-
getInteractionTypes
public Collection<String> getInteractionTypes()
Description copied from class:OutputGeneratorLoader
Returns a collection of supported interaction types.- Overrides:
getInteractionTypes
in classOutputGeneratorLoader
- Returns:
- collection of supported interaction types.
-
getInteractionFormatter
public InteractionFormatter getInteractionFormatter()
-
configure
public void configure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
Description copied from class:OutputGeneratorLoader
Subclasses implement this method to read additional custom configuration from the givenHierarchicalConfiguration
tree.- Specified by:
configure
in classOutputGeneratorLoader
- Parameters:
config
- the configuration tree for the output generator
-
createOutputGenerator
public AbstractOutputGenerator createOutputGenerator()
Description copied from class:OutputGeneratorLoader
Factory method for creating actual output generator based on the previously read configuration (OutputGeneratorLoader.configure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode>)
).- Specified by:
createOutputGenerator
in classOutputGeneratorLoader
- Returns:
- the actual output generator
-
-