Interface ModelInitializer.IModelInitializer
-
- All Known Implementing Classes:
AbstractModelInitializer,IvmlParser,Registration,VilExpressionParser,VtlExpressionParser
- Enclosing class:
- ModelInitializer
public static interface ModelInitializer.IModelInitializerDefines the interface of an initializer.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLocation(java.io.File location, ProgressObserver observer)Adds a model location to the end of the list of existing locations.voidaddLocationToFront(java.io.File location, ProgressObserver observer)Adds a model location to the beginning of the list of existing locations.voidregisterLoader(ProgressObserver observer)Registers the default model loader instance.voidremoveLocation(java.io.File location, ProgressObserver observer)Adds a model location.voidunregisterLoader(ProgressObserver observer)Unregisters the default model loader.
-
-
-
Method Detail
-
addLocation
void addLocation(java.io.File location, ProgressObserver observer) throws ModelManagementExceptionAdds a model location to the end of the list of existing locations.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
addLocationToFront
void addLocationToFront(java.io.File location, ProgressObserver observer) throws ModelManagementExceptionAdds a model location to the beginning of the list of existing locations.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
removeLocation
void removeLocation(java.io.File location, ProgressObserver observer) throws ModelManagementExceptionAdds a model location.- Parameters:
location- the model location. Basically, this is a folder but for serializers, this may be a file.observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
registerLoader
void registerLoader(ProgressObserver observer) throws ModelManagementException
Registers the default model loader instance.- Parameters:
observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
unregisterLoader
void unregisterLoader(ProgressObserver observer) throws ModelManagementException
Unregisters the default model loader.- Parameters:
observer- the progress observer- Throws:
ModelManagementException- in case of problems registering the location
-
-