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
Possible output status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRequest failed because there is no such origin branchRequest failed because Repository does not existRequest succeedRequest failed because target id is causing conflict (for instance, because there is already a branch with this id) -
Method Summary
Modifier and TypeMethodDescriptionstatic ForkBranchS8Request.Status
Returns the enum constant of this class with the specified name.static ForkBranchS8Request.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SUCCESSFULLY_FORKED
Request succeed -
REPOSITORY_DOES_NOT_EXIST
Request failed because Repository does not exist -
NO_SUCH_ORIGIN_BRANCH
Request failed because there is no such origin branch -
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
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
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 nameNullPointerException
- if the argument is null
-