|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.rest.v2.admin.WorkflowTransitionResource com.atlassian.jira.rest.v2.admin.WorkflowTransitionResource.TransitionResource
public static class WorkflowTransitionResource.TransitionResource
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.rest.v2.admin.WorkflowTransitionResource |
---|
WorkflowTransitionResource.ConstantResponseResource, WorkflowTransitionResource.Factory, WorkflowTransitionResource.PropertyBean, WorkflowTransitionResource.TransitionResource, WorkflowTransitionResource.WorkflowMode |
Method Summary | |
---|---|
javax.ws.rs.core.Response |
createProperty(long transitionId,
String key,
String workflowName,
String workflowMode,
WorkflowTransitionResource.PropertyBean body)
Add a new property to a transition. |
javax.ws.rs.core.Response |
deleteProperty(long transitionId,
String key,
String workflowName,
String workflowMode)
Delete a property from the passed transition on the passed workflow. |
javax.ws.rs.core.Response |
getProperties(long transitionId,
boolean includeReservedKeys,
String key,
String workflowName,
String workflowMode)
Return the property or properties associated with a transition. |
javax.ws.rs.core.Response |
updateProperty(long transitionId,
String key,
String workflowName,
String workflowMode,
WorkflowTransitionResource.PropertyBean body)
Update/add new property to a transition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public javax.ws.rs.core.Response getProperties(long transitionId, boolean includeReservedKeys, String key, String workflowName, String workflowMode)
WorkflowTransitionResource
getProperties
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.includeReservedKeys
- some keys under the "jira." prefix are editable, some are not. Set this to true
in order to include the non-editable keys in the response.key
- the name of the property key to query. Can be left off the query to return all properties.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response createProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
WorkflowTransitionResource
createProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response updateProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
WorkflowTransitionResource
updateProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response deleteProperty(long transitionId, String key, String workflowName, String workflowMode)
WorkflowTransitionResource
deleteProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |