Enum ServiceType
- java.lang.Object
-
- java.lang.Enum<ServiceType>
-
- com.orchestranetworks.addon.dex.configuration.ServiceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServiceType>
public enum ServiceType extends java.lang.Enum<ServiceType>
Defines the possible service types.- Since:
- 2.3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSV_EXPORT
Specifies the service type used to export data to a CSV file.CSV_IMPORT
Specifies the service type used to import data from a CSV file.SPREADSHEET_EXPORT
Specifies the service type used to export data to an Excel file.SPREADSHEET_IMPORT
Specifies the service type used to import data from an Excel file.SQL_EXPORT
Specifies the service type used to export data to an external database.SQL_IMPORT
Specifies the service type used to import data from an external database.TRANSFER
Specifies the service type used to transfer data.XML_EXPORT
Specifies the service type used to export data to an XML file.XML_IMPORT
Specifies the service type used to import data from an XML file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCSVExport()
Returnstrue
if the service type isCSV_EXPORT
.boolean
isCSVImport()
Returnstrue
if the service type isCSV_IMPORT
.boolean
isSpreadsheetExport()
Returnstrue
if the service type isSPREADSHEET_EXPORT
.boolean
isSpreadsheetImport()
Returnstrue
if the service type isSPREADSHEET_IMPORT
.boolean
isSQLExport()
Returnstrue
if the service type isSQL_EXPORT
.boolean
isSQLImport()
Returnstrue
if the service type isSQL_IMPORT
.boolean
isTransfer()
Returnstrue
if the service type isTRANSFER
.boolean
isXMLExport()
Returnstrue
if the service type isXML_EXPORT
.boolean
isXMLImport()
Returnstrue
if the service type isXML_IMPORT
.static ServiceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServiceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSFER
public static final ServiceType TRANSFER
Specifies the service type used to transfer data.
-
XML_IMPORT
public static final ServiceType XML_IMPORT
Specifies the service type used to import data from an XML file.
-
XML_EXPORT
public static final ServiceType XML_EXPORT
Specifies the service type used to export data to an XML file.
-
SQL_IMPORT
public static final ServiceType SQL_IMPORT
Specifies the service type used to import data from an external database.
-
SQL_EXPORT
public static final ServiceType SQL_EXPORT
Specifies the service type used to export data to an external database.
-
SPREADSHEET_IMPORT
public static final ServiceType SPREADSHEET_IMPORT
Specifies the service type used to import data from an Excel file.
-
SPREADSHEET_EXPORT
public static final ServiceType SPREADSHEET_EXPORT
Specifies the service type used to export data to an Excel file.
-
CSV_IMPORT
public static final ServiceType CSV_IMPORT
Specifies the service type used to import data from a CSV file.
-
CSV_EXPORT
public static final ServiceType CSV_EXPORT
Specifies the service type used to export data to a CSV file.
-
-
Method Detail
-
values
public static ServiceType[] 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 (ServiceType c : ServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isTransfer
public boolean isTransfer()
Returnstrue
if the service type isTRANSFER
.
-
isXMLExport
public boolean isXMLExport()
Returnstrue
if the service type isXML_EXPORT
.
-
isXMLImport
public boolean isXMLImport()
Returnstrue
if the service type isXML_IMPORT
.
-
isSQLExport
public boolean isSQLExport()
Returnstrue
if the service type isSQL_EXPORT
.
-
isSQLImport
public boolean isSQLImport()
Returnstrue
if the service type isSQL_IMPORT
.
-
isCSVExport
public boolean isCSVExport()
Returnstrue
if the service type isCSV_EXPORT
.
-
isCSVImport
public boolean isCSVImport()
Returnstrue
if the service type isCSV_IMPORT
.
-
isSpreadsheetExport
public boolean isSpreadsheetExport()
Returnstrue
if the service type isSPREADSHEET_EXPORT
.
-
isSpreadsheetImport
public boolean isSpreadsheetImport()
Returnstrue
if the service type isSPREADSHEET_IMPORT
.
-
-