Package com._1c.g5.v8.dt.compare.core
Enum ComparisonTreeNodeEvent.EventType
- java.lang.Object
-
- java.lang.Enum<ComparisonTreeNodeEvent.EventType>
-
- com._1c.g5.v8.dt.compare.core.ComparisonTreeNodeEvent.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<ComparisonTreeNodeEvent.EventType>
- Enclosing class:
- ComparisonTreeNodeEvent
public static enum ComparisonTreeNodeEvent.EventType extends Enum<ComparisonTreeNodeEvent.EventType>
The event type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
A node has been added to the comparison tree.COMPARISON_FINISHED
A node comparison has been finished.REMOVED
The node has been removed from the comparison tree.UPDATED
The node has been updated in the comparison tree.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComparisonTreeNodeEvent.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComparisonTreeNodeEvent.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPARISON_FINISHED
public static final ComparisonTreeNodeEvent.EventType COMPARISON_FINISHED
A node comparison has been finished.
-
ADDED
public static final ComparisonTreeNodeEvent.EventType ADDED
A node has been added to the comparison tree.
-
REMOVED
public static final ComparisonTreeNodeEvent.EventType REMOVED
The node has been removed from the comparison tree.
-
UPDATED
public static final ComparisonTreeNodeEvent.EventType UPDATED
The node has been updated in the comparison tree.
-
-
Method Detail
-
values
public static ComparisonTreeNodeEvent.EventType[] 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 (ComparisonTreeNodeEvent.EventType c : ComparisonTreeNodeEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComparisonTreeNodeEvent.EventType 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
-
-