de.unikassel.android.sdcframework.persistence.facade
Enum DBFullStrategyDescription

Package class diagram package DBFullStrategyDescription
java.lang.Object
  extended by java.lang.Enum<DBFullStrategyDescription>
      extended by de.unikassel.android.sdcframework.persistence.facade.DBFullStrategyDescription
All Implemented Interfaces:
Serializable, Comparable<DBFullStrategyDescription>

public enum DBFullStrategyDescription
extends Enum<DBFullStrategyDescription>

The enumeration defining the database full strategy combinations.


Enum Constant Summary
WAIT_DELETE_NOTIFY
          This does define the following strategy chain:
WaitStrategy -> DeleteSamplesStrategy -> NotificationStrategy

First it will wait a configured time span, than it does try to delete the configured amount of sample records and finally it will sent a user notification.
WAIT_NOTIFY_STOPSERVICE
          This does define the following strategy chain:
WaitStrategy -> NotificationStrategy -> StopServiceStrategy

First it will wait a configured time span, than it does sent a user notification and finally the SDCService will be stopped
 
Method Summary
static DBFullStrategyDescription valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBFullStrategyDescription[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WAIT_DELETE_NOTIFY

public static final DBFullStrategyDescription WAIT_DELETE_NOTIFY
This does define the following strategy chain:
WaitStrategy -> DeleteSamplesStrategy -> NotificationStrategy

First it will wait a configured time span, than it does try to delete the configured amount of sample records and finally it will sent a user notification.


WAIT_NOTIFY_STOPSERVICE

public static final DBFullStrategyDescription WAIT_NOTIFY_STOPSERVICE
This does define the following strategy chain:
WaitStrategy -> NotificationStrategy -> StopServiceStrategy

First it will wait a configured time span, than it does sent a user notification and finally the SDCService will be stopped

Method Detail

values

public static DBFullStrategyDescription[] 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 (DBFullStrategyDescription c : DBFullStrategyDescription.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DBFullStrategyDescription valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null