Module com.s8.api

Enum Class ForkBranchS8Request.Status

java.lang.Object
java.lang.Enum<ForkBranchS8Request.Status>
com.s8.api.flow.repository.requests.ForkBranchS8Request.Status
All Implemented Interfaces:
Serializable, Comparable<ForkBranchS8Request.Status>, Constable
Enclosing class:
ForkBranchS8Request

public static enum ForkBranchS8Request.Status extends Enum<ForkBranchS8Request.Status>
Possible output status
  • Enum Constant Details

    • SUCCESSFULLY_FORKED

      public static final ForkBranchS8Request.Status SUCCESSFULLY_FORKED
      Request succeed
    • REPOSITORY_DOES_NOT_EXIST

      public static final ForkBranchS8Request.Status REPOSITORY_DOES_NOT_EXIST
      Request failed because Repository does not exist
    • NO_SUCH_ORIGIN_BRANCH

      public static final ForkBranchS8Request.Status NO_SUCH_ORIGIN_BRANCH
      Request failed because there is no such origin branch
    • TARGET_BRANCH_ID_CONFLICT

      public static final ForkBranchS8Request.Status TARGET_BRANCH_ID_CONFLICT
      Request failed because target id is causing conflict (for instance, because there is already a branch with this id)
  • Method Details

    • values

      public static ForkBranchS8Request.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ForkBranchS8Request.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null