Enum RwMergeModeConstraint

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RwMergeModeConstraint>

    @OpenApiAll
    public enum RwMergeModeConstraint
    extends java.lang.Enum<RwMergeModeConstraint>
    Enumeration of constraints that may disallow read-write merge mode for particular module
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DECOMPOSITION
      Decompositions compatibility - particular module should be branch as the main project, it can be used in the contributor project or in other modules that qualify for read-write module merge as well.
      PRIVATE_PART
      Particular module shall not have changes in it's unshared part since the ancestor project version.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RwMergeModeConstraint valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RwMergeModeConstraint[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DECOMPOSITION

        public static final RwMergeModeConstraint DECOMPOSITION
        Decompositions compatibility - particular module should be branch as the main project, it can be used in the contributor project or in other modules that qualify for read-write module merge as well. Only Teamwork modules qualify for Read-write module merge mode.
      • PRIVATE_PART

        public static final RwMergeModeConstraint PRIVATE_PART
        Particular module shall not have changes in it's unshared part since the ancestor project version.
    • Method Detail

      • values

        public static RwMergeModeConstraint[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RwMergeModeConstraint c : RwMergeModeConstraint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RwMergeModeConstraint valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null