Enum ConflictDecision.DecisionType

    • Enum Constant Detail

      • PREVIOUS

        public static final ConflictDecision.DecisionType PREVIOUS
        Keep the previous version, the returned chunk should be the previous version.
      • CUSTOM

        public static final ConflictDecision.DecisionType CUSTOM
        Specify a custom version, the returned chunk is the one set by the user. If none is provided, can be null or empty chunk.
    • Method Detail

      • values

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

        public static ConflictDecision.DecisionType 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