com.ibm.task.api
Class Parameter
- java.lang.Object
com.ibm.task.api.Parameter
All implemented interfaces:
java.io.Serializable
- public final class Parameter
- extends java.lang.Object
- implements java.io.Serializable
Since:
7.0
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
Parameter()
Default constructor to initialize the parameter options.
|
Parameter(java.lang.String name,java.io.Serializable value)
Constructor that builds a parameter option from the passed values.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getName()
Returns the name of the parameter.
|
|
getValue()
Returns the value of the parameter.
|
|
setParameter(java.lang.String name,java.io.Serializable value)
Sets the parameter.
|
|
toString()
Returns a string representation of the Parameter object.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
Parameter
- public Parameter()
Default constructor to initialize the parameter options.
Parameter
- public Parameter(java.lang.String name,
- java.io.Serializable value)
Constructor that builds a parameter option from the passed values.
Parameters:
name
- The name of the parameter. value
- The value of the parameter. Method Detail
getName
- public java.lang.String getName( )
Returns the name of the parameter.
Returns:
The name of the parameter.
getValue
- public java.io.Serializable getValue( )
Returns the value of the parameter.
Returns:
The value of the parameter.
setParameter
- public void setParameter(java.lang.String name,
- java.io.Serializable value)
Sets the parameter.
Parameters:
name
- The name of the parameter. value
- The value of the parameter. toString
- public java.lang.String toString( )
Returns a string representation of the Parameter object.
Overrides:
toString
in class java.lang.Object
Returns:
String -
A string representation of the object.