Enum MCCDiffReport.ChangeType
- java.lang.Object
-
- java.lang.Enum<MCCDiffReport.ChangeType>
-
- org.ametys.plugins.odfpilotage.report.impl.MCCDiffReport.ChangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<MCCDiffReport.ChangeType>
- Enclosing class:
- MCCDiffReport
protected static enum MCCDiffReport.ChangeType extends Enum<MCCDiffReport.ChangeType>
Change type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
The metadata is added in the new contentMODIFIED_NEW
The metadata is modified in the new contentMODIFIED_OLD
The metadata is modified in the old contentREMOVED
The metadata is removed in the new content
-
Constructor Summary
Constructors Modifier Constructor Description private
ChangeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MCCDiffReport.ChangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MCCDiffReport.ChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED
public static final MCCDiffReport.ChangeType ADDED
The metadata is added in the new content
-
REMOVED
public static final MCCDiffReport.ChangeType REMOVED
The metadata is removed in the new content
-
MODIFIED_OLD
public static final MCCDiffReport.ChangeType MODIFIED_OLD
The metadata is modified in the old content
-
MODIFIED_NEW
public static final MCCDiffReport.ChangeType MODIFIED_NEW
The metadata is modified in the new content
-
-
Constructor Detail
-
ChangeType
private ChangeType()
-
-
Method Detail
-
values
public static MCCDiffReport.ChangeType[] 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 (MCCDiffReport.ChangeType c : MCCDiffReport.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MCCDiffReport.ChangeType 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
-
-