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_EXPORTSpecifies the service type used to export data to a CSV file.CSV_IMPORTSpecifies the service type used to import data from a CSV file.SPREADSHEET_EXPORTSpecifies the service type used to export data to an Excel file.SPREADSHEET_IMPORTSpecifies the service type used to import data from an Excel file.SQL_EXPORTSpecifies the service type used to export data to an external database.SQL_IMPORTSpecifies the service type used to import data from an external database.TRANSFERSpecifies the service type used to transfer data.XML_EXPORTSpecifies the service type used to export data to an XML file.XML_IMPORTSpecifies 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 booleanisCSVExport()Returnstrueif the service type isCSV_EXPORT.booleanisCSVImport()Returnstrueif the service type isCSV_IMPORT.booleanisSpreadsheetExport()Returnstrueif the service type isSPREADSHEET_EXPORT.booleanisSpreadsheetImport()Returnstrueif the service type isSPREADSHEET_IMPORT.booleanisSQLExport()Returnstrueif the service type isSQL_EXPORT.booleanisSQLImport()Returnstrueif the service type isSQL_IMPORT.booleanisTransfer()Returnstrueif the service type isTRANSFER.booleanisXMLExport()Returnstrueif the service type isXML_EXPORT.booleanisXMLImport()Returnstrueif the service type isXML_IMPORT.static ServiceTypevalueOf(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()
Returnstrueif the service type isTRANSFER.
-
isXMLExport
public boolean isXMLExport()
Returnstrueif the service type isXML_EXPORT.
-
isXMLImport
public boolean isXMLImport()
Returnstrueif the service type isXML_IMPORT.
-
isSQLExport
public boolean isSQLExport()
Returnstrueif the service type isSQL_EXPORT.
-
isSQLImport
public boolean isSQLImport()
Returnstrueif the service type isSQL_IMPORT.
-
isCSVExport
public boolean isCSVExport()
Returnstrueif the service type isCSV_EXPORT.
-
isCSVImport
public boolean isCSVImport()
Returnstrueif the service type isCSV_IMPORT.
-
isSpreadsheetExport
public boolean isSpreadsheetExport()
Returnstrueif the service type isSPREADSHEET_EXPORT.
-
isSpreadsheetImport
public boolean isSpreadsheetImport()
Returnstrueif the service type isSPREADSHEET_IMPORT.
-
-