Klasse UpdateWorkflowTransitionPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateWorkflowTransitionPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWorkflowTransitionPropertyOperationSpec
extends Object
UpdateWorkflowTransitionPropertySpec
Specification for the UpdateWorkflowTransitionProperty operation.
Update workflow transition property
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
UpdateWorkflowTransitionPropertyOperationSpec
(Long transitionId, String key, String workflowName, WorkflowTransitionProperty workflowTransitionProperty, String workflowMode) Constructs a validated instance ofUpdateWorkflowTransitionPropertyOperationSpec
.UpdateWorkflowTransitionPropertyOperationSpec
(Consumer<UpdateWorkflowTransitionPropertyOperationSpec> spec) Constructs a validated instance ofUpdateWorkflowTransitionPropertyOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic UpdateWorkflowTransitionPropertyOperationSpec.UpdateWorkflowTransitionPropertyOperationSpecBuilder
builder()
protected boolean
boolean
int
hashCode()
@NotNull String
key()
The key of the property being updated, also known as the name of the property.The key of the property being updated, also known as the name of the property.toString()
@NotNull Long
The ID of the transition.transitionId
(@NotNull Long transitionId) The ID of the transition.void
validate()
Validates the Spec, will throw a exception if required parameters are missing@Nullable String
The workflow status.workflowMode
(@Nullable String workflowMode) The workflow status.@NotNull String
The name of the workflow that the transition belongs to.workflowName
(@NotNull String workflowName) The name of the workflow that the transition belongs to.@NotNull WorkflowTransitionProperty
workflowTransitionProperty
(@NotNull WorkflowTransitionProperty workflowTransitionProperty)
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
UpdateWorkflowTransitionPropertyOperationSpec
@Internal public UpdateWorkflowTransitionPropertyOperationSpec(Consumer<UpdateWorkflowTransitionPropertyOperationSpec> spec) Constructs a validated instance ofUpdateWorkflowTransitionPropertyOperationSpec
.- Parameter:
spec
- the specification to process
-
UpdateWorkflowTransitionPropertyOperationSpec
@Internal public UpdateWorkflowTransitionPropertyOperationSpec(Long transitionId, String key, String workflowName, WorkflowTransitionProperty workflowTransitionProperty, String workflowMode) Constructs a validated instance ofUpdateWorkflowTransitionPropertyOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
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.key
- The key of the property being updated, also known as the name of the property. Set this to the same value as thekey
defined in the request body.workflowName
- The name of the workflow that the transition belongs to.workflowTransitionProperty
-workflowMode
- The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited.
-
UpdateWorkflowTransitionPropertyOperationSpec
protected UpdateWorkflowTransitionPropertyOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
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. -
key
The key of the property being updated, also known as the name of the property. Set this to the same value as thekey
defined in the request body. -
workflowName
The name of the workflow that the transition belongs to. -
workflowTransitionProperty
-
workflowMode
The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited. -
transitionId
public UpdateWorkflowTransitionPropertyOperationSpec 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.- Gibt zurück:
this
.
-
key
The key of the property being updated, also known as the name of the property. Set this to the same value as thekey
defined in the request body.- Gibt zurück:
this
.
-
workflowName
public UpdateWorkflowTransitionPropertyOperationSpec workflowName(@NotNull @NotNull String workflowName) The name of the workflow that the transition belongs to.- Gibt zurück:
this
.
-
workflowTransitionProperty
public UpdateWorkflowTransitionPropertyOperationSpec workflowTransitionProperty(@NotNull @NotNull WorkflowTransitionProperty workflowTransitionProperty) - Gibt zurück:
this
.
-
workflowMode
public UpdateWorkflowTransitionPropertyOperationSpec workflowMode(@Nullable @Nullable String workflowMode) The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-