|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationLoader
Interface for operation loaders
Each loader is expected to load only a single type of operation since part of the interface contract provides help information to users about the operation that can be loaded.
Method Summary | |
---|---|
OperationLoaderArgument[] |
getArguments()
Gets a description of the configuration arguments that this loader expects to receive |
String |
getDescription()
Gets a description of the operation that this loader loads |
String |
getPreferredName()
Gets the name that this loader prefers to be referenced by |
Operation |
load(File baseDir,
String[] args)
Load an operation described by the given arguments |
Method Detail |
---|
Operation load(File baseDir, String[] args) throws IOException
baseDir
- Base directoryargs
- Arguments
IOException
String getPreferredName()
This is the preferred name used in certain circumstances such as when
registering using
OperationLoaderRegistry.addLoader(OperationLoader)
but users may
register a loader with any name they want.
String getDescription()
OperationLoaderArgument[] getArguments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |