public class SleepOperationLoader extends AbstractOperationLoader
| Constructor and Description |
|---|
SleepOperationLoader() |
| Modifier and Type | Method and Description |
|---|---|
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
|
getInputStream, getNameArgument, readFile, resolveFilepublic Operation load(File baseDir, String[] args) throws IOException
OperationLoaderbaseDir - Base directoryargs - ArgumentsIOExceptionpublic String getPreferredName()
OperationLoader
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.
public String getDescription()
OperationLoaderpublic OperationLoaderArgument[] getArguments()
OperationLoaderCopyright © 2016. All rights reserved.