public class ResponseDefinition
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ResponseDefinition()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getGeneratedTasks()
Returns the list of tasks that are generated by the response.
|
java.lang.String |
getKey()
Returns the Key of the Response Definition
|
java.lang.String |
getResponse()
Returns the Response Code
|
java.lang.String |
getResponseDescription()
Returns the Response Description
|
ResponseProperties |
getResponseProperties() |
java.lang.String |
getStatus()
Returns the Status that the Response will set on the Task
|
java.lang.String |
getStatusKey()
Returns the Key of the Status that the Response will set on the Task
|
void |
removeGeneratedTask(java.lang.String generatedTask)
Remove a task from the list of Tasks generated by this response
|
void |
setGeneratedTask(java.lang.String generatedTask)
Add a task to the list of Tasks generated by this response
|
void |
setGeneratedTasks(java.util.HashSet generatedTasks)
Sets the list of tasks that are generated by the response.
|
void |
setKey(java.lang.String key)
Sets the Key of the Response Definition
|
void |
setResponse(java.lang.String response)
Sets the Response Code
|
void |
setResponseDescription(java.lang.String responseDescription)
Sets the Response Description
|
void |
setResponseProperties(ResponseProperties responseProperties) |
void |
setStatus(java.lang.String status)
Sets the Status that the Response will set on the Task
|
void |
setStatusKey(java.lang.String statusKey)
Sets the Key of the Status that the Response will set on the Task
|
public java.lang.String[] getGeneratedTasks()
public void setGeneratedTasks(java.util.HashSet generatedTasks)
generatedTasks
- The names of the Generated Tasks.public void setGeneratedTask(java.lang.String generatedTask)
generatedTask
- The name of the task to add.public void removeGeneratedTask(java.lang.String generatedTask)
generatedTask
- The name of the task to remove.public java.lang.String getResponse()
public void setResponse(java.lang.String response)
response
- The response code to set.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The status to set.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key.public java.lang.String getResponseDescription()
public void setResponseDescription(java.lang.String responseDescription)
responseDescription
- The Response Description to set.public java.lang.String getStatusKey()
public void setStatusKey(java.lang.String statusKey)
statusKey
- The Status Key to set.public ResponseProperties getResponseProperties()
public void setResponseProperties(ResponseProperties responseProperties)