|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kwfgrid.gwes.workflowgenerator.WorkflowGenerator
net.kwfgrid.gwes.workflowgenerator.SingleJob
public class SingleJob
This class can be used as helper class to automatically generate workflows that invoke single jobs.
| Field Summary |
|---|
| Fields inherited from class net.kwfgrid.gwes.workflowgenerator.WorkflowGenerator |
|---|
workflow, workflowType |
| Constructor Summary | |
|---|---|
SingleJob(String operationClass,
Map<String,String> inputs,
List<String> outputs)
Generate a workflow with one single job that invokes a specified operation class with a set of input and output parameters. |
|
SingleJob(String operationClass,
String operationType,
String operationName,
String resourceName,
Map<String,String> inputs,
List<String> outputs)
Generate a workflow with one single job that invokes a specified operation with a set of input and output parameters. |
|
| Method Summary | |
|---|---|
net.kwfgrid.gworkflowdl.structure.OperationCandidate |
getOperationCandidate()
Get the operation candidate or null if there is no operation candidate. |
net.kwfgrid.gworkflowdl.structure.OperationClass |
getOperationClass()
Get the operation class. |
net.kwfgrid.gworkflowdl.structure.Transition |
getTransition()
Get the transition. |
| Methods inherited from class net.kwfgrid.gwes.workflowgenerator.WorkflowGenerator |
|---|
getWorkflow, getWorkflowID, getWorkflowType, getXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleJob(String operationClass,
Map<String,String> inputs,
List<String> outputs)
throws net.kwfgrid.gworkflowdl.structure.WorkflowFormatException,
net.kwfgrid.gworkflowdl.structure.CapacityException
operationClass - The operation class to invoke. This will also be used as transition identifier.inputs - A Map that contains the input parameter names as keys and the input parameter values (without any
parent elements) as values. If input map is null, then only a control token is introduced. Please
use a LinkedHashMap if you want to preserve the order of the inputs.outputs - A List that contains the output parameter names. If outputs are null, then a
control output place is generated.
net.kwfgrid.gworkflowdl.structure.WorkflowFormatException
net.kwfgrid.gworkflowdl.structure.CapacityException
public SingleJob(String operationClass,
String operationType,
String operationName,
String resourceName,
Map<String,String> inputs,
List<String> outputs)
throws net.kwfgrid.gworkflowdl.structure.WorkflowFormatException,
net.kwfgrid.gworkflowdl.structure.CapacityException
operationClass - The operation class to invoke. This will also be used as transition identifier.operationName - The concrete operation to invoke.resourceName - The concrete resource to use to invoke the operation.inputs - A Map that contains the input parameter names as keys and the input parameter values (without any
parent elements) as values. If input map is null, then only a control token is introduced.outputs - A List that contains the output parameter names. If outputs are null, then a
control output place is generated.
net.kwfgrid.gworkflowdl.structure.WorkflowFormatException
net.kwfgrid.gworkflowdl.structure.CapacityException| Method Detail |
|---|
public net.kwfgrid.gworkflowdl.structure.OperationClass getOperationClass()
public net.kwfgrid.gworkflowdl.structure.OperationCandidate getOperationCandidate()
null if there is no operation candidate.
public net.kwfgrid.gworkflowdl.structure.Transition getTransition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||