public class CopyFile extends JavaExecutable
A wildcard can be used if parts of the names of the input file is not known
Modifier and Type | Field and Description |
---|---|
protected String |
inputFile |
protected String |
outputFile |
execInitializer
Constructor and Description |
---|
CopyFile() |
Modifier and Type | Method and Description |
---|---|
Serializable |
execute(TaskResult... results)
The content of this method will be executed once after being scheduled.
This may generate a result as an Object . |
getErr, getGlobalSpace, getInputSpace, getIterationIndex, getLocalSpace, getMetadata, getNodesURL, getOut, getOutputSpace, getProgress, getReplicationIndex, getResultMap, getSynchronizationAPI, getThirdPartyCredential, getUserSpace, getVariables, init, initAPIs, initDataSpaces, initMetadata, initResultMap, internalInit, setProgress, setVariables
public Serializable execute(TaskResult... results) throws Throwable
JavaExecutable
Object
. It can be whatever you want.execute
in class JavaExecutable
results
- the results (as a taskResult) from parent tasks.Throwable
- any exception thrown by the user's code