Enum Class DataSourceOperation

java.lang.Object
java.lang.Enum<DataSourceOperation>
com.suncode.pwfl.datasource.DataSourceOperation
All Implemented Interfaces:
Serializable, Comparable<DataSourceOperation>, Constable

@Api public enum DataSourceOperation extends Enum<DataSourceOperation>
Author:
RafaƂ Nowacki 2018-02-26
  • Enum Constant Details

    • READ

      public static final DataSourceOperation READ
      Operation to read data from data source.
    • UPDATE

      public static final DataSourceOperation UPDATE
      Operation to update data in data source
    • INSERT

      public static final DataSourceOperation INSERT
      Operation to insert data to data source
    • DELETE

      public static final DataSourceOperation DELETE
      Operation to delete data from data source
    • FILE

      public static final DataSourceOperation FILE
      Operation to download data from data source
  • Method Details

    • values

      public static DataSourceOperation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataSourceOperation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null