Package com.lpvs.entity.enums
Enum Class LPVSVcs
- All Implemented Interfaces:
Serializable
,Comparable<LPVSVcs>
,Constable
Represents the version control systems (VCS) supported by the LPVS system.
Each VCS corresponds to a specific type of version control platform.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LPVSVcs
convertFrom
(String action) Converts a string representation of a version control system to the corresponding enum constant.getVcs()
Gets the string representation of the version control system.toString()
Returns a string representation of the version control system.static LPVSVcs
Returns the enum constant of this class with the specified name.static LPVSVcs[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GITHUB
Represents the GitHub version control system. -
SWARM
Represents the Swarm version control system. -
GERRIT
Represents the Gerrit version control system. -
GITLAB
Represents the GitLab version control system.
-
-
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
-
getVcs
Gets the string representation of the version control system.- Returns:
- The string representation of the version control system.
-
toString
Returns a string representation of the version control system. -
convertFrom
Converts a string representation of a version control system to the corresponding enum constant.- Parameters:
action
- The string representation of the version control system.- Returns:
- The corresponding LPVSVcs enum constant, or null if not found.
-