Package mgui.pipelines
Class TaskParameter
java.lang.Object
mgui.pipelines.TaskParameter
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class TaskParameter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies a parameter for a given PipelineProcess.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
default_value
boolean
has_value
java.lang.String
name
boolean
optional
boolean
use_name
-
Constructor Summary
Constructors Constructor Description TaskParameter()
TaskParameter(java.lang.String name)
TaskParameter(java.lang.String name, java.lang.String default_value, boolean optional)
TaskParameter(java.lang.String name, java.lang.String default_value, boolean optional, boolean has_value, boolean use_name)
TaskParameter(TaskParameter param)
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
TaskParameterInstance
getInstance()
java.lang.String
getXML(int tab)
java.lang.String
toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
optional
public boolean optional -
name
public java.lang.String name -
default_value
public java.lang.String default_value -
has_value
public boolean has_value -
use_name
public boolean use_name
-
-
Constructor Details
-
TaskParameter
public TaskParameter() -
TaskParameter
public TaskParameter(java.lang.String name) -
TaskParameter
public TaskParameter(java.lang.String name, java.lang.String default_value, boolean optional) -
TaskParameter
public TaskParameter(java.lang.String name, java.lang.String default_value, boolean optional, boolean has_value, boolean use_name) -
TaskParameter
-
-
Method Details
-
getXML
public java.lang.String getXML(int tab) -
getInstance
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-