com.evolveum.midpoint.repo.sql.data.common.enums
Enum RTaskExecutionStatusType

java.lang.Object
  extended by java.lang.Enum<RTaskExecutionStatusType>
      extended by com.evolveum.midpoint.repo.sql.data.common.enums.RTaskExecutionStatusType
All Implemented Interfaces:
Serializable, Comparable<RTaskExecutionStatusType>

public enum RTaskExecutionStatusType
extends Enum<RTaskExecutionStatusType>

Author:
lazyman

Enum Constant Summary
CLOSED
           
RUNNABLE
           
SUSPENDED
           
WAITING
           
 
Method Summary
 TaskExecutionStatusType getStatus()
           
static RTaskExecutionStatusType toRepoType(TaskExecutionStatusType status)
           
static RTaskExecutionStatusType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RTaskExecutionStatusType[] 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

RUNNABLE

public static final RTaskExecutionStatusType RUNNABLE

WAITING

public static final RTaskExecutionStatusType WAITING

SUSPENDED

public static final RTaskExecutionStatusType SUSPENDED

CLOSED

public static final RTaskExecutionStatusType CLOSED
Method Detail

values

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

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

valueOf

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

getStatus

public TaskExecutionStatusType getStatus()

toRepoType

public static RTaskExecutionStatusType toRepoType(TaskExecutionStatusType status)


Copyright © 2013 evolveum. All Rights Reserved.