public static enum FileToBulkLoad.FromInstanceType extends java.lang.Enum<FileToBulkLoad.FromInstanceType>
enumeration lists all the instance types from which the file is created (rater, bulkloader).| Enum Constant and Description |
|---|
BULKLOADER
1: Constant for the bulkloader instance type in an SAP CC system
|
RATER
0: Constant for the rater instance type in an SAP CC system
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static FileToBulkLoad.FromInstanceType |
getInstanceTypeFromId(int id)
Gets the
instanceType from the ID of the instance type. |
static FileToBulkLoad.FromInstanceType |
getInstanceTypeFromName(java.lang.String name)
Gets the
instanceType from the pretty name of the instance type. |
java.lang.String |
getName() |
static FileToBulkLoad.FromInstanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileToBulkLoad.FromInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileToBulkLoad.FromInstanceType RATER
public static final FileToBulkLoad.FromInstanceType BULKLOADER
public static FileToBulkLoad.FromInstanceType[] values()
for (FileToBulkLoad.FromInstanceType c : FileToBulkLoad.FromInstanceType.values()) System.out.println(c);
public static FileToBulkLoad.FromInstanceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getId()
public java.lang.String getName()
public static FileToBulkLoad.FromInstanceType getInstanceTypeFromName(java.lang.String name)
instanceType from the pretty name of the instance type.name - The instance type pretty nameinstanceTypepublic static FileToBulkLoad.FromInstanceType getInstanceTypeFromId(int id)
instanceType from the ID of the instance type.id - The instance type IDinstanceType