Class TransitionState
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about the state of transitions between one stage and another stage.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The user-specified reason why the transition between two stages of a pipeline was disabled.Whether the transition between stages is enabled (true) or disabled (false).The timestamp when the transition state was last changed.The ID of the user who last changed the transition state.int
hashCode()
Whether the transition between stages is enabled (true) or disabled (false).void
setDisabledReason
(String disabledReason) The user-specified reason why the transition between two stages of a pipeline was disabled.void
setEnabled
(Boolean enabled) Whether the transition between stages is enabled (true) or disabled (false).void
setLastChangedAt
(Date lastChangedAt) The timestamp when the transition state was last changed.void
setLastChangedBy
(String lastChangedBy) The ID of the user who last changed the transition state.toString()
Returns a string representation of this object; useful for testing and debugging.withDisabledReason
(String disabledReason) The user-specified reason why the transition between two stages of a pipeline was disabled.withEnabled
(Boolean enabled) Whether the transition between stages is enabled (true) or disabled (false).withLastChangedAt
(Date lastChangedAt) The timestamp when the transition state was last changed.withLastChangedBy
(String lastChangedBy) The ID of the user who last changed the transition state.
-
Constructor Details
-
TransitionState
public TransitionState()
-
-
Method Details
-
setEnabled
Whether the transition between stages is enabled (true) or disabled (false).
- Parameters:
enabled
- Whether the transition between stages is enabled (true) or disabled (false).
-
getEnabled
Whether the transition between stages is enabled (true) or disabled (false).
- Returns:
- Whether the transition between stages is enabled (true) or disabled (false).
-
withEnabled
Whether the transition between stages is enabled (true) or disabled (false).
- Parameters:
enabled
- Whether the transition between stages is enabled (true) or disabled (false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Whether the transition between stages is enabled (true) or disabled (false).
- Returns:
- Whether the transition between stages is enabled (true) or disabled (false).
-
setLastChangedBy
The ID of the user who last changed the transition state.
- Parameters:
lastChangedBy
- The ID of the user who last changed the transition state.
-
getLastChangedBy
The ID of the user who last changed the transition state.
- Returns:
- The ID of the user who last changed the transition state.
-
withLastChangedBy
The ID of the user who last changed the transition state.
- Parameters:
lastChangedBy
- The ID of the user who last changed the transition state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastChangedAt
The timestamp when the transition state was last changed.
- Parameters:
lastChangedAt
- The timestamp when the transition state was last changed.
-
getLastChangedAt
The timestamp when the transition state was last changed.
- Returns:
- The timestamp when the transition state was last changed.
-
withLastChangedAt
The timestamp when the transition state was last changed.
- Parameters:
lastChangedAt
- The timestamp when the transition state was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDisabledReason
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Parameters:
disabledReason
- The user-specified reason why the transition between two stages of a pipeline was disabled.
-
getDisabledReason
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Returns:
- The user-specified reason why the transition between two stages of a pipeline was disabled.
-
withDisabledReason
The user-specified reason why the transition between two stages of a pipeline was disabled.
- Parameters:
disabledReason
- The user-specified reason why the transition between two stages of a pipeline was disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-