Enum Class LPVSVcs

java.lang.Object
java.lang.Enum<LPVSVcs>
com.lpvs.entity.enums.LPVSVcs
All Implemented Interfaces:
Serializable, Comparable<LPVSVcs>, Constable

public enum LPVSVcs extends Enum<LPVSVcs>
Represents the version control systems (VCS) supported by the LPVS system. Each VCS corresponds to a specific type of version control platform.
  • Enum Constant Details

    • GITHUB

      public static final LPVSVcs GITHUB
      Represents the GitHub version control system.
    • SWARM

      public static final LPVSVcs SWARM
      Represents the Swarm version control system.
    • GERRIT

      public static final LPVSVcs GERRIT
      Represents the Gerrit version control system.
    • GITLAB

      public static final LPVSVcs GITLAB
      Represents the GitLab version control system.
  • Method Details

    • values

      public static LPVSVcs[] 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 LPVSVcs 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
    • getVcs

      public String getVcs()
      Gets the string representation of the version control system.
      Returns:
      The string representation of the version control system.
    • toString

      public String toString()
      Returns a string representation of the version control system.
      Overrides:
      toString in class Enum<LPVSVcs>
      Returns:
      The string representation of the version control system.
    • convertFrom

      public static LPVSVcs convertFrom(String action)
      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.