Package adams.flow.core
Enum ReportUpdateType
- java.lang.Object
-
- java.lang.Enum<ReportUpdateType>
-
- adams.flow.core.ReportUpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReportUpdateType>
public enum ReportUpdateType extends Enum<ReportUpdateType>
Enum that determines how the report is being updated.- Version:
- $Revision: 12159 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MERGE_CURRENT_WITH_OTHER
doesn't overwrite values in current report, only adds additional from other.MERGE_OTHER_WITH_CURRENT
doesn't overwrite values in other report, only adds additional from current.REPLACE
replace the existing report.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportUpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReportUpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final ReportUpdateType REPLACE
replace the existing report.
-
MERGE_CURRENT_WITH_OTHER
public static final ReportUpdateType MERGE_CURRENT_WITH_OTHER
doesn't overwrite values in current report, only adds additional from other.
-
MERGE_OTHER_WITH_CURRENT
public static final ReportUpdateType MERGE_OTHER_WITH_CURRENT
doesn't overwrite values in other report, only adds additional from current.
-
-
Method Detail
-
values
public static ReportUpdateType[] 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 (ReportUpdateType c : ReportUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportUpdateType 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
-
-