Package com.adobe.aem.dermis.model
Enum DataSource
- java.lang.Object
-
- java.lang.Enum<DataSource>
-
- com.adobe.aem.dermis.model.DataSource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataSource>
public enum DataSource extends java.lang.Enum<DataSource>
List of DataSources supported OOTB
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AZURE_BLOB
JDBC
ODATA_REST
ONE_DRIVE
REST
SHARE_POINT
USER_PROFILE
WEB_SERVICE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JDBC
public static final DataSource JDBC
-
REST
public static final DataSource REST
-
WEB_SERVICE
public static final DataSource WEB_SERVICE
-
USER_PROFILE
public static final DataSource USER_PROFILE
-
ODATA_REST
public static final DataSource ODATA_REST
-
AZURE_BLOB
public static final DataSource AZURE_BLOB
-
ONE_DRIVE
public static final DataSource ONE_DRIVE
-
SHARE_POINT
public static final DataSource SHARE_POINT
-
-
Method Detail
-
values
public static DataSource[] 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 (DataSource c : DataSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSource 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
-
-