com.evolveum.midpoint.web.page.admin.resources.dto
Enum ResourceStatus

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

public enum ResourceStatus
extends Enum<ResourceStatus>

Author:
lazyman

Enum Constant Summary
DOWN
           
ERROR
           
NOT_TESTED
           
SUCCESS
           
UP
           
WARNING
           
 
Method Summary
 String getIcon()
           
static ResourceStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceStatus[] 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

SUCCESS

public static final ResourceStatus SUCCESS

WARNING

public static final ResourceStatus WARNING

ERROR

public static final ResourceStatus ERROR

NOT_TESTED

public static final ResourceStatus NOT_TESTED

UP

public static final ResourceStatus UP

DOWN

public static final ResourceStatus DOWN
Method Detail

values

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

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

valueOf

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

getIcon

public String getIcon()


Copyright © 2013 evolveum. All Rights Reserved.