Module com.s8.api
Enum Class CloneBranchS8Request.Status
java.lang.Object
java.lang.Enum<CloneBranchS8Request.Status>
com.s8.api.flow.repository.requests.CloneBranchS8Request.Status
- All Implemented Interfaces:
Serializable
,Comparable<CloneBranchS8Request.Status>
,Constable
- Enclosing class:
CloneBranchS8Request
Response Status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionversion format is invalidBranch cannot be found for the given branch id in the targeted repositoryVersion cannot be found for the given version value of the targeted branch of the targeted repositoryRequest terminates successfullyRepository cannot be found for given address -
Method Summary
Modifier and TypeMethodDescriptionstatic CloneBranchS8Request.Status
Returns the enum constant of this class with the specified name.static CloneBranchS8Request.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
-
OK
Request terminates successfully -
REPOSITORY_NOT_FOUND
Repository cannot be found for given address -
NO_SUCH_BRANCH
Branch cannot be found for the given branch id in the targeted repository -
NO_SUCH_VERSION
Version cannot be found for the given version value of the targeted branch of the targeted repository -
INVALID_VERSION
version format is invalid
-
-
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
-