java.lang.Object | |
↳ | com.atlassian.jira.workflow.DefaultWorkflowPropertyEditor |
Nested Classes | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a property to the workflow.
| |||||||||||
Delete a property from the workflow.
| |||||||||||
Return the key used by the editor in the
ErrorCollection when reporting
errors on the property key. | |||||||||||
Return the key used by the editor in the
ErrorCollection when reporting
errors on the property value. | |||||||||||
Set the key used by the editor in the
ErrorCollection when reporting
errors on the property name. | |||||||||||
Update a property on the workflow.
| |||||||||||
Set the key used by the editor in the
ErrorCollection when reporting
errors on the property value. |
[Expand]
Inherited Methods | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||
![]()
|
Add a property to the workflow. It is an error to try an update a property that already exists.
The caller must check the returned WorkflowPropertyEditor.Result
to
work out the actual name and value saved as they may have been transformed during the save.
name | the name of the property. |
---|---|
property | the value of the property. |
ServiceOutcome
either contains errors
or the WorkflowPropertyEditor.Result
of the operation if successful.
Delete a property from the workflow.
name | the name of the property. |
---|
ServiceOutcome
either contains errors
or the WorkflowPropertyEditor.Result
of the operation if successful.
Return the key used by the editor in the ErrorCollection
when reporting
errors on the property key.
Return the key used by the editor in the ErrorCollection
when reporting
errors on the property value.
Set the key used by the editor in the ErrorCollection
when reporting
errors on the property name. The default is
DEFAULT_NAME_KEY
.
nameKey | the name of the key to use. |
---|
Update a property on the workflow. A property that does not exist will be added if necessary.
The caller must check the returned WorkflowPropertyEditor.Result
to
work out the actual name and value saved as they may have been transformed during the save.
name | the name of the property. |
---|---|
property | the value of the property. |
ServiceOutcome
either contains errors
or the WorkflowPropertyEditor.Result
of the operation if successful.
Set the key used by the editor in the ErrorCollection
when reporting
errors on the property value. The default is
DEFAULT_VALUE_KEY
.
valueKey | the name of the key to use. |
---|