public enum DashboardExportType extends Enum<DashboardExportType>
| Enum Constant and Description |
|---|
DASHBOARD_TO_PDF
Specifies that the target format is PDF.
|
DASHBOARD_TO_XML
Specifies that the target format is XML.
|
UNSUPPORTED
Represents an unsupported export type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeValue()
Returns the internal string representing the export type.
|
boolean |
isDashboardToPDF()
Returns
true if this is DASHBOARD_TO_PDF. |
boolean |
isDashboardToXML()
Returns
true if this is DASHBOARD_TO_XML. |
boolean |
isUnsupportedType()
Returns
true if this is UNSUPPORTED. |
static DashboardExportType |
parse(String type)
Returns
UNSUPPORTED if the type is invalid or not supported. |
static DashboardExportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DashboardExportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardExportType DASHBOARD_TO_PDF
If the export succeeds, it is possible to retrieve the XML file used to build the PDF file by DashboardOperations.
public static final DashboardExportType DASHBOARD_TO_XML
The dashboard can be exported to the XML format first to implement further changes before being transformed to the PDF format.
public static final DashboardExportType UNSUPPORTED
public static DashboardExportType[] values()
for (DashboardExportType c : DashboardExportType.values()) System.out.println(c);
public static DashboardExportType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isDashboardToPDF()
true if this is DASHBOARD_TO_PDF.public boolean isDashboardToXML()
true if this is DASHBOARD_TO_XML.public boolean isUnsupportedType()
true if this is UNSUPPORTED.public static DashboardExportType parse(String type)
UNSUPPORTED if the type is invalid or not supported.public String getTypeValue()