Enum ConstructionStrengthType

  • All Implemented Interfaces:
    Serializable, Comparable<ConstructionStrengthType>

    public enum ConstructionStrengthType
    extends Enum<ConstructionStrengthType>
    Strength of the construction defines how aggressively will the construction be applied. Strong constructions are applied all the time (relative changes, reconciliation, ...). Weak constructions are applied only if there is another strong construction.
    • Enum Constant Detail

      • WEAK

        public static final ConstructionStrengthType WEAK
        Construction is applied only if there is another strong construction for the same project. I.e. weak construction do not entitle the focus to anything just by themselves. There must be another reason for the projection to exist. If there is, then the weak construction will be also applied. If it is not then the weak construction is ignored.
    • Method Detail

      • values

        public static ConstructionStrengthType[] 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 (ConstructionStrengthType c : ConstructionStrengthType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConstructionStrengthType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()