Package com._1c.g5.v8.dt.supply
Enum ModuleComparisonResult
- java.lang.Object
-
- java.lang.Enum<ModuleComparisonResult>
-
- com._1c.g5.v8.dt.supply.ModuleComparisonResult
-
- All Implemented Interfaces:
Serializable
,Comparable<ModuleComparisonResult>
public enum ModuleComparisonResult extends Enum<ModuleComparisonResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGED
Unspecified change detected.CONFLICT
Conflict is detected (only 3-way comparison)MAIN_CHANGED
Main module/method is changed comparing to the common ancestorNO_CHANGE
No change is detectedOTHER_CHANGED
Other module/method is changed comparing to the common ancestor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModuleComparisonResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static ModuleComparisonResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CHANGE
public static final ModuleComparisonResult NO_CHANGE
No change is detected
-
CHANGED
public static final ModuleComparisonResult CHANGED
Unspecified change detected. Used during the two-way comparison
-
MAIN_CHANGED
public static final ModuleComparisonResult MAIN_CHANGED
Main module/method is changed comparing to the common ancestor
-
OTHER_CHANGED
public static final ModuleComparisonResult OTHER_CHANGED
Other module/method is changed comparing to the common ancestor
-
CONFLICT
public static final ModuleComparisonResult CONFLICT
Conflict is detected (only 3-way comparison)
-
-
Method Detail
-
values
public static ModuleComparisonResult[] 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 (ModuleComparisonResult c : ModuleComparisonResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleComparisonResult 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 nameNullPointerException
- if the argument is null
-
-