Class DoTransitionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DoTransitionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DoTransitionOperationSpec
extends Object
DoTransitionSpec
Specification for the DoTransition operation.
Transition issue
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDoTransitionOperationSpec(String issueIdOrKey, IssueUpdateDetails issueUpdateDetails) Constructs a validated instance ofDoTransitionOperationSpec.Constructs a validated instance ofDoTransitionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.@NotNull IssueUpdateDetailsissueUpdateDetails(@NotNull IssueUpdateDetails issueUpdateDetails) toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DoTransitionOperationSpec
Constructs a validated instance ofDoTransitionOperationSpec.- Parameters:
spec- the specification to process
-
DoTransitionOperationSpec
@Internal public DoTransitionOperationSpec(String issueIdOrKey, IssueUpdateDetails issueUpdateDetails) Constructs a validated instance ofDoTransitionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- The ID or key of the issue.issueUpdateDetails-
-
DoTransitionOperationSpec
protected DoTransitionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
issueUpdateDetails
-
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
issueUpdateDetails
public DoTransitionOperationSpec issueUpdateDetails(@NotNull @NotNull IssueUpdateDetails issueUpdateDetails) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-