public class JobParameter extends Object implements Serializable
Constructor and Description |
---|
JobParameter(String name,
ParameterType type,
String label)
Constructor
|
JobParameter(String name,
Serializable defaultValue,
ParameterType type,
String label)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
Serializable |
getDefaultValue()
Get the default value of the parameter.
|
String |
getLabel()
Get the label for this parameter.
|
String |
getName()
Get the name of the parameter.
|
ParameterType |
getType()
Get the type of the parameter.
|
int |
hashCode()
Return a hash code value for the object.
|
void |
setDefaultValue(Serializable defaultValue)
Set the default value of the parameter.
|
void |
setLabel(String label)
Set the label for this parameter.
|
void |
setName(String name)
Set the name of the parameter.
|
void |
setType(ParameterType type)
Set the type of the parameter.
|
String |
toString() |
public JobParameter(String name, Serializable defaultValue, ParameterType type, String label)
name
- Name of the parameter.defaultValue
- The default value for the parameter. For parameters of type FILE and FOLDER, the value should
be specified as a ResourceSpecification. Values of CHARACTER and NUMERIC parameters should be
specified as a String. DATE parameter values should be specified as java.util.Date.type
- The type of the parameter.label
- The label for the parameter.public JobParameter(String name, ParameterType type, String label)
name
- Name of the parameter.type
- The type of the parameter.label
- The label for the parameter.public String getName()
public void setName(String name)
name
- The name to set.public Serializable getDefaultValue()
public void setDefaultValue(Serializable defaultValue)
defaultValue
- The defaultValue to set.public ParameterType getType()
public void setType(ParameterType type)
type
- the type of the parameter.public void setLabel(String label)
label
- the label to set for this parameterpublic String getLabel()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA