de.unikassel.android.sdcframework.data
Enum WeekdaySchedulerAction

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

public enum WeekdaySchedulerAction
extends Enum<WeekdaySchedulerAction>
implements Parcelable

Performable Scheduler actions.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Enum Constant Summary
StartService
          Start the sdcf service.
StopService
          Stop the sdcf service.
 
Field Summary
static String ACTION
          The action package part.
static Parcelable.Creator<WeekdaySchedulerAction> CREATOR
          The Parcelable creator.
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
 WeekdaySchedulerAction getPreviousAction()
          Getter for the previous action expected to be predecessor of this action
static WeekdaySchedulerAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WeekdaySchedulerAction valueOfOrdinal(int ordinal)
          Method to determine the Weekday for a given ordinal.
static WeekdaySchedulerAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void writeToParcel(Parcel dest, int flags)
           
 
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

StartService

public static final WeekdaySchedulerAction StartService
Start the sdcf service.


StopService

public static final WeekdaySchedulerAction StopService
Stop the sdcf service.

Field Detail

ACTION

public static final String ACTION
The action package part.

See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<WeekdaySchedulerAction> CREATOR
The Parcelable creator.

Method Detail

values

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

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

valueOf

public static WeekdaySchedulerAction 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

valueOfOrdinal

public static WeekdaySchedulerAction valueOfOrdinal(int ordinal)
Method to determine the Weekday for a given ordinal.

Parameters:
ordinal - the ordinal value
Returns:
the Weekday for a given ordinal

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

getPreviousAction

public WeekdaySchedulerAction getPreviousAction()
Getter for the previous action expected to be predecessor of this action

Returns:
the previous action for this action