public class ScheduleParameter extends Object implements Cloneable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleParameter.ParamType
Parameter types.
|
Constructor and Description |
---|
ScheduleParameter() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone this parameter.
|
String |
getDefaultValue()
Get the parameter default value (optional).
|
String |
getDescription()
Get the parameter description.
|
String |
getLabel()
Get the parameter label (display name), i.e.
|
String |
getName()
Get the parameter name.
|
ScheduleParameter.ParamType |
getType()
Get the parameter type.
|
String |
getValue()
Get the parameter value.
|
boolean |
isEncrypted()
Indicate whether the parameter attributes should be encrypted.
|
boolean |
isMandatory()
Indicate whether the parameter value is required for the workitem to
execute.
|
void |
setDefaultValue(String value)
Get the optional parameter default value.
|
void |
setDescription(String description)
Set the parameter description.
|
void |
setEncrypted(boolean encrypted)
Indicate whether the parameter attributes should be encrypted.
|
void |
setLabel(String label)
Set the parameter label (display name), i.e.
|
void |
setMandatory(boolean mandatory)
Indicate whether the parameter value is required for the workitem to
execute.
|
void |
setName(String name)
Set the parameter name.
|
void |
setType(ScheduleParameter.ParamType type)
Set the parameter type.
|
void |
setValue(String value)
Set the parameter value.
|
String |
toString()
Get the parameter description/summary for debugging purposes.
|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- if the parameter can not be cloned.public String toString()
public String getName()
public void setName(String name)
name
- the name to setpublic String getLabel()
public void setLabel(String label)
label
- the label to setpublic String getDescription()
public void setDescription(String description)
description
- the description to set.public String getDefaultValue()
public void setDefaultValue(String value)
value
- the value to set.public boolean isMandatory()
public void setMandatory(boolean mandatory)
mandatory
- true to make the workitem refuse to start without the
value or false if the parameter value is not necessary.public boolean isEncrypted()
public void setEncrypted(boolean encrypted)
encrypted
- true/false to set on/off encryption.public ScheduleParameter.ParamType getType()
public void setType(ScheduleParameter.ParamType type)
type
- the type to set.public String getValue()
public void setValue(String value)
value
- the value to set.