Class WorkflowTransition

java.lang.Object
io.cloudreactor.tasksymphony.model.WorkflowTransition

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WorkflowTransition extends Object
A WorkflowTransition is a directed edge in a Worfklow, which is a directed graph. It contains a source WorkflowTaskInstance, a destination WorkflowTaskInstance, as well as conditions for triggering the destination to execution.
  • Field Details

  • Constructor Details

    • WorkflowTransition

      public WorkflowTransition()
  • Method Details

    • getUrl

      @Nonnull public URI getUrl()
      Get url
      Returns:
      url
    • getUuid

      @Nonnull public UUID getUuid()
      Get uuid
      Returns:
      uuid
    • description

      public WorkflowTransition description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • fromWorkflowTaskInstance

      public WorkflowTransition fromWorkflowTaskInstance(NameAndUuid fromWorkflowTaskInstance)
    • getFromWorkflowTaskInstance

      @Nonnull public NameAndUuid getFromWorkflowTaskInstance()
      Get fromWorkflowTaskInstance
      Returns:
      fromWorkflowTaskInstance
    • setFromWorkflowTaskInstance

      public void setFromWorkflowTaskInstance(NameAndUuid fromWorkflowTaskInstance)
    • toWorkflowTaskInstance

      public WorkflowTransition toWorkflowTaskInstance(NameAndUuid toWorkflowTaskInstance)
    • getToWorkflowTaskInstance

      @Nonnull public NameAndUuid getToWorkflowTaskInstance()
      Get toWorkflowTaskInstance
      Returns:
      toWorkflowTaskInstance
    • setToWorkflowTaskInstance

      public void setToWorkflowTaskInstance(NameAndUuid toWorkflowTaskInstance)
    • ruleType

      public WorkflowTransition ruleType(RuleTypeEnum ruleType)
    • getRuleType

      @Nonnull public RuleTypeEnum getRuleType()
      Get ruleType
      Returns:
      ruleType
    • setRuleType

      public void setRuleType(RuleTypeEnum ruleType)
    • exitCodes

      public WorkflowTransition exitCodes(List<String> exitCodes)
    • addExitCodesItem

      public WorkflowTransition addExitCodesItem(String exitCodesItem)
    • getExitCodes

      @Nullable public List<String> getExitCodes()
      Get exitCodes
      Returns:
      exitCodes
    • getExitCodes_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getExitCodes_JsonNullable()
    • setExitCodes_JsonNullable

      public void setExitCodes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> exitCodes)
    • setExitCodes

      public void setExitCodes(List<String> exitCodes)
    • thresholdProperty

      public WorkflowTransition thresholdProperty(ThresholdPropertyEnum thresholdProperty)
    • getThresholdProperty

      @Nullable public ThresholdPropertyEnum getThresholdProperty()
      Get thresholdProperty
      Returns:
      thresholdProperty
    • setThresholdProperty

      public void setThresholdProperty(ThresholdPropertyEnum thresholdProperty)
    • customExpression

      public WorkflowTransition customExpression(String customExpression)
    • getCustomExpression

      @Nullable public String getCustomExpression()
      Get customExpression
      Returns:
      customExpression
    • setCustomExpression

      public void setCustomExpression(String customExpression)
    • priority

      public WorkflowTransition priority(Integer priority)
    • getPriority

      @Nullable public Integer getPriority()
      Get priority minimum: 0 maximum: 2147483647
      Returns:
      priority
    • getPriority_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getPriority_JsonNullable()
    • setPriority_JsonNullable

      public void setPriority_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> priority)
    • setPriority

      public void setPriority(Integer priority)
    • uiColor

      public WorkflowTransition uiColor(String uiColor)
    • getUiColor

      @Nullable public String getUiColor()
      Get uiColor
      Returns:
      uiColor
    • setUiColor

      public void setUiColor(String uiColor)
    • uiLineStyle

      public WorkflowTransition uiLineStyle(String uiLineStyle)
    • getUiLineStyle

      @Nullable public String getUiLineStyle()
      Get uiLineStyle
      Returns:
      uiLineStyle
    • setUiLineStyle

      public void setUiLineStyle(String uiLineStyle)
    • uiScale

      public WorkflowTransition uiScale(Float uiScale)
    • getUiScale

      @Nullable public Float getUiScale()
      Get uiScale
      Returns:
      uiScale
    • getUiScale_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Float> getUiScale_JsonNullable()
    • setUiScale_JsonNullable

      public void setUiScale_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Float> uiScale)
    • setUiScale

      public void setUiScale(Float uiScale)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • getUpdatedAt

      @Nonnull public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object