Enum PilotageReport.PilotageReportTarget
- java.lang.Object
-
- java.lang.Enum<PilotageReport.PilotageReportTarget>
-
- org.ametys.plugins.odfpilotage.report.PilotageReport.PilotageReportTarget
-
- All Implemented Interfaces:
Serializable
,Comparable<PilotageReport.PilotageReportTarget>
- Enclosing interface:
- PilotageReport
public static enum PilotageReport.PilotageReportTarget extends Enum<PilotageReport.PilotageReportTarget>
The pilotage report target.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PilotageReportTarget()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PilotageReport.PilotageReportTarget
valueOf(String name)
Returns the enum constant of this type with the specified name.static PilotageReport.PilotageReportTarget[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRAM
public static final PilotageReport.PilotageReportTarget PROGRAM
To execute a report on a program
-
ORGUNIT
public static final PilotageReport.PilotageReportTarget ORGUNIT
To execute a report on an orgunit
-
-
Constructor Detail
-
PilotageReportTarget
private PilotageReportTarget()
-
-
Method Detail
-
values
public static PilotageReport.PilotageReportTarget[] 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 (PilotageReport.PilotageReportTarget c : PilotageReport.PilotageReportTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PilotageReport.PilotageReportTarget 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
-
-