Class CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder
- Enclosing class:
- CreateWorkflowTransitionPropertyOperationSpec
public static class CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The key of the property being added, also known as the name of the property.toString()
transitionId
(@NotNull Long transitionId) The ID of the transition.workflowMode
(@Nullable String workflowMode) The workflow status.workflowName
(@NotNull String workflowName) The name of the workflow that the transition belongs to.workflowTransitionProperty
(@NotNull WorkflowTransitionProperty workflowTransitionProperty)
-
Method Details
-
transitionId
public CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder transitionId(@NotNull @NotNull Long transitionId) The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.- Returns:
this
.
-
key
public CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder key(@NotNull @NotNull String key) The key of the property being added, also known as the name of the property. Set this to the same value as thekey
defined in the request body.- Returns:
this
.
-
workflowName
public CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder workflowName(@NotNull @NotNull String workflowName) The name of the workflow that the transition belongs to.- Returns:
this
.
-
workflowTransitionProperty
public CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder workflowTransitionProperty(@NotNull @NotNull WorkflowTransitionProperty workflowTransitionProperty) - Returns:
this
.
-
workflowMode
public CreateWorkflowTransitionPropertyOperationSpec.CreateWorkflowTransitionPropertyOperationSpecBuilder workflowMode(@Nullable @Nullable String workflowMode) The workflow status. Set to *live* for inactive workflows or *draft* for draft workflows. Active workflows cannot be edited.- Returns:
this
.
-
build
-
toString
-