public class WorkflowToolParameter extends AbstractBean
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowToolParameter.ParameterType |
Constructor and Description |
---|
WorkflowToolParameter()
Create a new instance of the workflow parameter.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the description of the workflow parameter.
|
List<String> |
getOptions()
Return the list of options for this parameter.
|
String |
getParameterId()
Return the id of the workflow parameter.
|
String |
getTitle()
Return the title of the workflow parameter.
|
WorkflowToolParameter.ParameterType |
getType()
Return the type of the workflow parameter.
|
String |
getValue()
Return the value of the workflow parameter.
|
boolean |
isAllowNull()
Return true if the parameter is allowed to be empty.
|
boolean |
isHidden()
Returns true if the workflow parameter should not be shown to the user.
|
void |
setAllowNull(boolean allowNull)
Sets whether or not the workflow parameter can be empty.
|
void |
setDescription(String description)
Sets the description of the workflow parameter.
|
void |
setHidden(boolean hidden)
Sets whether or not the workflow parameter should be shown to the user.
|
void |
setOptions(List<String> options)
Sets the list of options this parameter can be.
|
void |
setParameterId(String paramid)
Sets the id of the workflow parameter.
|
void |
setTitle(String title)
Sets the title of the workflow parameter.
|
void |
setType(String type)
Deprecated.
see setType(ParameterType type)
|
void |
setType(WorkflowToolParameter.ParameterType type)
Sets the type of the workflow parameter.
|
void |
setValue(String value)
Sets the value of the workflow parameter.
|
String |
toString() |
equals, getId, hashCode, isDeleted, setDeleted, setId
public WorkflowToolParameter()
public String getParameterId()
public void setParameterId(String paramid)
title
- sets the id of the workflow parameter.public String getTitle()
public void setTitle(String title)
title
- sets the title of the workflow parameter.public String getDescription()
public void setDescription(String description)
description
- sets the description of the workflow parameter.public WorkflowToolParameter.ParameterType getType()
public void setType(WorkflowToolParameter.ParameterType type)
type
- sets the type of the workflow parameter.@Deprecated public void setType(String type)
type
- sets the type of the workflow parameter.public String getValue()
public void setValue(String value)
value
- sets the value of the workflow parameter.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- if set to true the workflow parameter will not be shown to the
user.public boolean isAllowNull()
public void setAllowNull(boolean allowNull)
allowNull
- the allowNull to setpublic List<String> getOptions()
public void setOptions(List<String> options)
options
- the list of options for this parameter.Copyright © 2017. All rights reserved.