Package com.xebialabs.xlrelease.domain.delivery

## Class Transition

- java.lang.Object
- - com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
  - - com.xebialabs.xlrelease.domain.delivery.Transition

- All Implemented Interfaces:
    `ConfigurationItem`, `java.io.Serializable`, `java.lang.Comparable<BaseConfigurationItem>`

      @Metadata(versioned=false)
      public class Transition
      extends BaseConfigurationItem

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

      `id, syntheticProperties, type`

    - ### Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem

      `SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Transition()` |
    `Transition​(java.lang.String title)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addCondition​(Condition condition)` |
    `void` | `checkRestrictions()` |
    `java.util.Optional<Condition>` | `findConditionById​(java.lang.String conditionId)` |
    `java.util.List<Condition>` | `getAllConditions()` |
    `Condition` | `getConditionById​(java.lang.String conditionId)` |
    `java.util.List<Condition>` | `getConditions()` |
    `<C extends Condition> java.util.List<C>` | `getConditionsOfType​(java.lang.Class<C> conditionClass)` |
    `java.util.List<Condition>` | `getLeafConditions()` |
    `Condition` | `getRootCondition()` |
    `Stage` | `getStage()` |
    `java.lang.String` | `getTitle()` |
    `boolean` | `isAutomated()` |
    `void` | `setAutomated​(boolean automated)` |
    `void` | `setConditions​(java.util.List<Condition> conditions)` |
    `void` | `setStage​(Stage stage)` |
    `void` | `setTitle​(java.lang.String title)` |

    - ### Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

      `compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Transition

          public Transition()

    - #### Transition

          public Transition​(java.lang.String title)

  - ### Method Detail

    - #### getConditionsOfType

          public <C extends Condition> java.util.List<C> getConditionsOfType​(java.lang.Class<C> conditionClass)

    - #### getAllConditions

          public java.util.List<Condition> getAllConditions()

    - #### getLeafConditions

          public java.util.List<Condition> getLeafConditions()

    - #### addCondition

          public void addCondition​(Condition condition)

    - #### getRootCondition

          public Condition getRootCondition()

    - #### getConditionById

          public Condition getConditionById​(java.lang.String conditionId)

    - #### findConditionById

          public java.util.Optional<Condition> findConditionById​(java.lang.String conditionId)

    - #### checkRestrictions

          public void checkRestrictions()

    - #### getTitle

          public java.lang.String getTitle()

    - #### setTitle

          public void setTitle​(java.lang.String title)

    - #### getStage

          public Stage getStage()

    - #### setStage

          public void setStage​(Stage stage)

    - #### getConditions

          public java.util.List<Condition> getConditions()

    - #### setConditions

          public void setConditions​(java.util.List<Condition> conditions)

    - #### isAutomated

          public boolean isAutomated()

    - #### setAutomated

          public void setAutomated​(boolean automated)