Constructor and Description |
---|
ShiftCharsTool() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the tool.
|
String |
getDescription()
Long textual description of the tool.
|
Collection<Dataset> |
getInputs()
Retrieve list of inputs for the tool.
|
String |
getName()
Return the name of the tool.
|
InputStream |
getOutput(String id)
Retrieve a specific output.
|
Collection<Dataset> |
getOutputs()
Retrieve list of outputs for the tool.
|
Collection<Parameter> |
getParameters()
Retrieve list of parameters for the tool.
|
int |
getVersion()
Return the version number of the tool.
|
void |
setInput(String id,
InputStream input)
Set a specific input.
|
void |
setParameter(String id,
String value)
Set a specific parameter.
|
void |
setTempFolder(File tempfolder)
Sets the temp folder.
|
public String getName()
JavaTool
public int getVersion()
JavaTool
getVersion
in interface JavaTool
public String getDescription()
JavaTool
getDescription
in interface JavaTool
public Collection<Dataset> getInputs()
JavaTool
public void setInput(String id, InputStream input)
JavaTool
public Collection<Dataset> getOutputs()
JavaTool
getOutputs
in interface JavaTool
public InputStream getOutput(String id)
JavaTool
public Collection<Parameter> getParameters()
JavaTool
getParameters
in interface JavaTool
public void setParameter(String id, String value)
JavaTool
setParameter
in interface JavaTool
id
- the id of the parameter.value
- the value for the parameter.public void setTempFolder(File tempfolder)
JavaTool
setTempFolder
in interface JavaTool
tempfolder
- the temp folder created for this execution.public void execute() throws AbortException, FailedException
JavaTool
execute
in interface JavaTool
AbortException
- throws abort exception if the step was aborted.FailedException
- throws failed exception if the step failed to executed, or an
error occurred during execution.Copyright © 2017. All rights reserved.