|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tassl.application.cometcloud.GenerateTasksAbstract
public abstract class GenerateTasksAbstract
Constructor Summary | |
---|---|
GenerateTasksAbstract()
|
Method Summary | |
---|---|
void |
addRelatedWorkflowResults(java.util.HashMap relatedResultsResults,
java.lang.String workflowId)
|
abstract GenerateTasksObject |
createTasks(java.lang.String stageId,
java.util.List<FileProperties> input,
FileProperties output,
java.lang.String propertyFileValues,
java.util.List dependencies,
java.lang.String method)
Create Tasks for the specified stage of the workflow. |
static java.lang.String |
executeSsh(java.lang.String address,
java.lang.String command)
Execute a command in a remote machine using ssh |
java.util.HashMap<java.lang.String,FileProperties> |
generatePreviousResultFiles(java.lang.String stageId,
java.util.List dependencies)
Get result files of the previous stages that had dependencies with the current one This is assuming that ALL Results of previous stages are FileProperties objects |
java.util.HashMap<java.lang.String,FileProperties> |
generatePreviousResultFilesStageId(java.lang.String previousStage)
Get result files of a specific previous stage This is assuming that ALL Results of previous stages are FileProperties objects |
java.util.HashMap<java.lang.String,java.util.List<Results>> |
getPreviousResults()
Get results from previous stages |
java.lang.String |
getProperty(java.lang.String value)
|
java.lang.String |
getProperty(java.lang.String value,
java.lang.String defvalue)
|
java.util.HashMap<java.lang.String,java.util.List<Results>> |
getRelatedWorkflowsResults(java.lang.String workflowId)
Get results of all stages of a related workflow id |
void |
loadProperties(java.lang.String propertyFileValues)
Load properties contained in the file specified in the argument. |
void |
setPreviousResults(java.util.HashMap previousResults)
|
void |
setProperty(java.lang.String variable,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenerateTasksAbstract()
Method Detail |
---|
public java.util.HashMap<java.lang.String,java.util.List<Results>> getPreviousResults()
public java.util.HashMap<java.lang.String,FileProperties> generatePreviousResultFiles(java.lang.String stageId, java.util.List dependencies)
stageId
- dependencies
-
public java.util.HashMap<java.lang.String,java.util.List<Results>> getRelatedWorkflowsResults(java.lang.String workflowId)
workflowId
-
public java.util.HashMap<java.lang.String,FileProperties> generatePreviousResultFilesStageId(java.lang.String previousStage)
previousStage
-
public void setPreviousResults(java.util.HashMap previousResults)
public void addRelatedWorkflowResults(java.util.HashMap relatedResultsResults, java.lang.String workflowId)
public java.lang.String getProperty(java.lang.String value, java.lang.String defvalue)
public java.lang.String getProperty(java.lang.String value)
public void setProperty(java.lang.String variable, java.lang.String value)
public void loadProperties(java.lang.String propertyFileValues)
public static java.lang.String executeSsh(java.lang.String address, java.lang.String command)
address.
- Address of the remote machinecommand.
- Command to execute in the remote machinepublic abstract GenerateTasksObject createTasks(java.lang.String stageId, java.util.List<FileProperties> input, FileProperties output, java.lang.String propertyFileValues, java.util.List dependencies, java.lang.String method)
stage
- input
- list of input FileProperties, which include URI (address:/dir/path/) where you can find input files, and constraints. Correspond to InputData in the input xmloutput
- a FileProperties object, which includes URI (address:/dir/path/) that should be placed in the task to know where to upload the results. Correspond to Results in the input xml.propertyFileValues
- Values of the propertyFile specified in the XML workflow descriptiondependencies
- Previous stages. This can be use to get results values from those previous stagesmethod.
- Method to use for task generation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |