Class Transition
java.lang.Object
io.github.primelib.jira4j.restv3.model.Transition
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Transition
extends Object
Transition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
The type of the transition. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The description of the transition.The statuses the transition can start from.protected String
The ID of the transition.protected String
The name of the transition.The properties of the transition.protected WorkflowRules
protected TransitionScreenDetails
protected String
The status the transition goes to.protected Transition.TypeEnum
The type of the transition. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Transition
(String description, List<String> from, String id, String name, Map<String, Object> properties, WorkflowRules rules, TransitionScreenDetails screen, String to, Transition.TypeEnum type) Constructs a validated instance ofTransition
.Transition
(Consumer<Transition> spec) Constructs a validated instance ofTransition
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Transition.TransitionBuilder
builder()
protected boolean
The description of the transition.description
(String description) The description of the transition.boolean
from()
The statuses the transition can start from.The statuses the transition can start from.int
hashCode()
id()
The ID of the transition.The ID of the transition.name()
The name of the transition.The name of the transition.The properties of the transition.properties
(Map<String, Object> properties) The properties of the transition.rules()
rules
(WorkflowRules rules) screen()
screen
(TransitionScreenDetails screen) to()
The status the transition goes to.The status the transition goes to.toString()
type()
The type of the transition.type
(Transition.TypeEnum type) The type of the transition.
-
Field Details
-
description
The description of the transition. -
from
The statuses the transition can start from. -
id
The ID of the transition. -
name
The name of the transition. -
properties
The properties of the transition. -
rules
-
screen
-
to
The status the transition goes to. -
type
The type of the transition.
-
-
Constructor Details
-
Transition
Constructs a validated instance ofTransition
.- Parameters:
spec
- the specification to process
-
Transition
@Internal public Transition(String description, List<String> from, String id, String name, Map<String, Object> properties, WorkflowRules rules, TransitionScreenDetails screen, String to, Transition.TypeEnum type) Constructs a validated instance ofTransition
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Transition(Consumer)
instead.- Parameters:
description
- The description of the transition.from
- The statuses the transition can start from.id
- The ID of the transition.name
- The name of the transition.properties
- The properties of the transition.rules
- rulesscreen
- screento
- The status the transition goes to.type
- The type of the transition.
-
Transition
protected Transition()
-
-
Method Details
-
builder
-
description
The description of the transition. -
from
The statuses the transition can start from. -
id
The ID of the transition. -
name
The name of the transition. -
properties
The properties of the transition. -
rules
-
screen
-
to
The status the transition goes to. -
type
The type of the transition. -
description
The description of the transition.- Returns:
this
.
-
from
The statuses the transition can start from.- Returns:
this
.
-
id
The ID of the transition.- Returns:
this
.
-
name
The name of the transition.- Returns:
this
.
-
properties
The properties of the transition.- Returns:
this
.
-
rules
- Returns:
this
.
-
screen
- Returns:
this
.
-
to
The status the transition goes to.- Returns:
this
.
-
type
The type of the transition.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-