com.parabon.client
Class GenericTaskSpec

java.lang.Object
  extended by com.parabon.client.TaskSpec
      extended by com.parabon.client.GenericTaskSpec
Direct Known Subclasses:
RuntimeTaskSpec

public class GenericTaskSpec
extends TaskSpec

GenericTaskSpec allows creation of tasks which use alternative task runtime environments rather than the standard Java task runtime. A client application can select a specific runtime by supplying a regular expression against which runtime identifiers are matched, as well as runtime-specific "runtime parameters" to control the configuration and behaviour of the runtime environment and provide any information necessary to interact with the task in a manner defined by the specific runtime.

See Also:
TaskSpec

Nested Class Summary
 
Nested classes/interfaces inherited from class com.parabon.client.TaskSpec
TaskSpec.ExternalPackage, TaskSpec.NetworkTypeConstraint, TaskSpec.SchedulingConstraints
 
Constructor Summary
GenericTaskSpec(Job job, java.lang.String taskID)
           
 
Method Summary
 void setRuntime(java.lang.String value)
           
 void setRuntimeParam(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class com.parabon.client.TaskSpec
addElement, addElement, addElement, addElement, addElementBundle, addElementBundle, addElementBundle, addElementBundle, addRequiredElement, addRequiredElement, addRequiredElementAsClasspathJar, addRequiredElementAsClasspathJar, addRequiredElementAsNativeLibrary, addRequiredElementAsNativeLibrary, addRequiredElementBundle, addRequiredElementBundle, addRequiredElementBundle, getElement, getElementContainer, getElementURIs, getJob, getParams, getRequiredElementMetadata, getRequiredElementURIs, getRunnableClass, getRuntimeParams, getSchedulingConstraints, getTaskID, getVisualizationURI, isBundle, removeRequiredElement, removeRuntimeParam, resolveElement, set, setParams, setParams, setRequireNativeAccess, setRequireNetworkAccess, setRunnableClass, setRunnableClass, setSchedulingConstraints, setVisualizationURI, validateTaskID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTaskSpec

public GenericTaskSpec(Job job,
                       java.lang.String taskID)
Method Detail

setRuntime

public void setRuntime(java.lang.String value)

setRuntimeParam

public void setRuntimeParam(java.lang.String name,
                            java.lang.String value)
Overrides:
setRuntimeParam in class TaskSpec