Enum Class SourceControlSystem

java.lang.Object
java.lang.Enum<SourceControlSystem>
com.buildless.code.SourceControlSystem
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SourceControlSystem>, Constable

public enum SourceControlSystem extends Enum<SourceControlSystem> implements com.google.protobuf.ProtocolMessageEnum
 ## Source Control System

 Enumerates supported or recognized source control systems, such as Git, Subversion, Mercurial, and so on.
 
Protobuf enum buildless.code.SourceControlSystem
  • Enum Constant Details

    • UNKNOWN_SOURCE_CONROL_SYSTEM

      public static final SourceControlSystem UNKNOWN_SOURCE_CONROL_SYSTEM
       Unknown source control system; should not be used by regular code, as it signals a protocol backwards-incompatible
       value. An explicit value should always be used.
       
      UNKNOWN_SOURCE_CONROL_SYSTEM = 0;
    • GIT

      public static final SourceControlSystem GIT
       Source control system: Git.
       
      GIT = 1;
    • SUBVERSION

      public static final SourceControlSystem SUBVERSION
       Source control system: Subversion.
       
      SUBVERSION = 2;
    • MERCURIAL

      public static final SourceControlSystem MERCURIAL
       Source control system: Mercurial.
       
      MERCURIAL = 3;
    • UNRECOGNIZED

      public static final SourceControlSystem UNRECOGNIZED
  • Field Details

    • UNKNOWN_SOURCE_CONROL_SYSTEM_VALUE

      public static final int UNKNOWN_SOURCE_CONROL_SYSTEM_VALUE
       Unknown source control system; should not be used by regular code, as it signals a protocol backwards-incompatible
       value. An explicit value should always be used.
       
      UNKNOWN_SOURCE_CONROL_SYSTEM = 0;
      See Also:
    • GIT_VALUE

      public static final int GIT_VALUE
       Source control system: Git.
       
      GIT = 1;
      See Also:
    • SUBVERSION_VALUE

      public static final int SUBVERSION_VALUE
       Source control system: Subversion.
       
      SUBVERSION = 2;
      See Also:
    • MERCURIAL_VALUE

      public static final int MERCURIAL_VALUE
       Source control system: Mercurial.
       
      MERCURIAL = 3;
      See Also:
  • Method Details

    • values

      public static SourceControlSystem[] 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 SourceControlSystem 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static SourceControlSystem valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static SourceControlSystem forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<SourceControlSystem> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static SourceControlSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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