Enum ConsistencyAnalysisStatus
- java.lang.Object
-
- java.lang.Enum<ConsistencyAnalysisStatus>
-
- org.ametys.plugins.odfpilotage.report.consistency.ConsistencyAnalysisStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ConsistencyAnalysisStatus>
public enum ConsistencyAnalysisStatus extends Enum<ConsistencyAnalysisStatus>
Status of the analysis.
-
-
Field Summary
Fields Modifier and Type Field Description private String
_bgColor
private String
_fontColor
-
Constructor Summary
Constructors Modifier Constructor Description private
ConsistencyAnalysisStatus(String bgColor, String fontColor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBgColor()
Get the background color for the resume.String
getFontColor()
Get the font color for the resume.static ConsistencyAnalysisStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConsistencyAnalysisStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ConsistencyAnalysisStatus OK
No error
-
NEUTRAL
public static final ConsistencyAnalysisStatus NEUTRAL
Analysis for computation or informations only
-
KO
public static final ConsistencyAnalysisStatus KO
Errors in the analysis
-
-
Field Detail
-
_fontColor
private String _fontColor
-
-
Constructor Detail
-
ConsistencyAnalysisStatus
private ConsistencyAnalysisStatus(String bgColor, String fontColor)
-
-
Method Detail
-
values
public static ConsistencyAnalysisStatus[] 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 (ConsistencyAnalysisStatus c : ConsistencyAnalysisStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsistencyAnalysisStatus 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
-
getBgColor
public String getBgColor()
Get the background color for the resume.- Returns:
- The background color
-
getFontColor
public String getFontColor()
Get the font color for the resume.- Returns:
- The font color
-
-