Class AppWorkflowTransitionRule
java.lang.Object
io.github.primelib.jira4j.restv3.model.AppWorkflowTransitionRule
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AppWorkflowTransitionRule
extends Object
AppWorkflowTransitionRule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RuleConfiguration
protected String
The ID of the transition rule.protected String
The key of the rule, as defined in the Connect or the Forge app descriptor.protected WorkflowTransition
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AppWorkflowTransitionRule
(RuleConfiguration configuration, String id, String key, WorkflowTransition transition) Constructs a validated instance ofAppWorkflowTransitionRule
.Constructs a validated instance ofAppWorkflowTransitionRule
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
configuration
(RuleConfiguration configuration) boolean
int
hashCode()
id()
The ID of the transition rule.The ID of the transition rule.key()
The key of the rule, as defined in the Connect or the Forge app descriptor.The key of the rule, as defined in the Connect or the Forge app descriptor.toString()
transition
(WorkflowTransition transition)
-
Field Details
-
configuration
-
id
The ID of the transition rule. -
key
The key of the rule, as defined in the Connect or the Forge app descriptor. -
transition
-
-
Constructor Details
-
AppWorkflowTransitionRule
Constructs a validated instance ofAppWorkflowTransitionRule
.- Parameters:
spec
- the specification to process
-
AppWorkflowTransitionRule
@Internal public AppWorkflowTransitionRule(RuleConfiguration configuration, String id, String key, WorkflowTransition transition) Constructs a validated instance ofAppWorkflowTransitionRule
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AppWorkflowTransitionRule(Consumer)
instead.- Parameters:
configuration
- configurationid
- The ID of the transition rule.key
- The key of the rule, as defined in the Connect or the Forge app descriptor.transition
- transition
-
AppWorkflowTransitionRule
protected AppWorkflowTransitionRule()
-
-
Method Details
-
builder
-
configuration
-
id
The ID of the transition rule. -
key
The key of the rule, as defined in the Connect or the Forge app descriptor. -
transition
-
configuration
- Returns:
this
.
-
id
The ID of the transition rule.- Returns:
this
.
-
key
The key of the rule, as defined in the Connect or the Forge app descriptor.- Returns:
this
.
-
transition
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-