Enum ReportExecutionStatus.Status
- java.lang.Object
-
- java.lang.Enum<ReportExecutionStatus.Status>
-
- net.sf.jasperreports.web.servlets.ReportExecutionStatus.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<ReportExecutionStatus.Status>
- Enclosing class:
- ReportExecutionStatus
public static enum ReportExecutionStatus.Status extends Enum<ReportExecutionStatus.Status>
Report execution statuses.- See Also:
JasperPrintAccessor.getReportStatus()
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportExecutionStatus.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReportExecutionStatus.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final ReportExecutionStatus.Status RUNNING
The report execution is in progress.
-
FINISHED
public static final ReportExecutionStatus.Status FINISHED
The report execution has finished successfully.
-
ERROR
public static final ReportExecutionStatus.Status ERROR
There was an error during the report execution.- See Also:
ReportExecutionStatus.getError()
-
CANCELED
public static final ReportExecutionStatus.Status CANCELED
The report execution was canceled by the user.
-
-
Method Detail
-
values
public static ReportExecutionStatus.Status[] 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 (ReportExecutionStatus.Status c : ReportExecutionStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportExecutionStatus.Status 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
-
-