com.evolveum.midpoint.web.page.admin.server.dto
Enum TaskDtoExecutionStatusFilter

java.lang.Object
  extended by java.lang.Enum<TaskDtoExecutionStatusFilter>
      extended by com.evolveum.midpoint.web.page.admin.server.dto.TaskDtoExecutionStatusFilter
All Implemented Interfaces:
Serializable, Comparable<TaskDtoExecutionStatusFilter>

public enum TaskDtoExecutionStatusFilter
extends Enum<TaskDtoExecutionStatusFilter>

Possible values that can be used to filter tasks by their execution status.

Author:
Pavol Mederly
See Also:
TaskExecutionStatus

Enum Constant Summary
ALL
           
CLOSED
           
RUNNING_OR_RUNNABLE
           
SUSPENDED
           
WAITING
           
 
Method Summary
 ObjectFilter createFilter(Class clazz, PrismContext prismContext)
           
static TaskDtoExecutionStatusFilter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TaskDtoExecutionStatusFilter[] 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

ALL

public static final TaskDtoExecutionStatusFilter ALL

RUNNING_OR_RUNNABLE

public static final TaskDtoExecutionStatusFilter RUNNING_OR_RUNNABLE

WAITING

public static final TaskDtoExecutionStatusFilter WAITING

SUSPENDED

public static final TaskDtoExecutionStatusFilter SUSPENDED

CLOSED

public static final TaskDtoExecutionStatusFilter CLOSED
Method Detail

values

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

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

valueOf

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

createFilter

public ObjectFilter createFilter(Class clazz,
                                 PrismContext prismContext)
                          throws SchemaException
Throws:
SchemaException


Copyright © 2013 evolveum. All Rights Reserved.