org.rhq.enterprise.gui.legacy
Enum WebUserPreferences.ResourceVisit.Kind

java.lang.Object
  extended by java.lang.Enum<WebUserPreferences.ResourceVisit.Kind>
      extended by org.rhq.enterprise.gui.legacy.WebUserPreferences.ResourceVisit.Kind
All Implemented Interfaces:
Serializable, Comparable<WebUserPreferences.ResourceVisit.Kind>
Enclosing class:
WebUserPreferences.ResourceVisit

public static enum WebUserPreferences.ResourceVisit.Kind
extends Enum<WebUserPreferences.ResourceVisit.Kind>


Enum Constant Summary
COMPATIBLE_GROUP
           
group
          Deprecated. 
MIXED_GROUP
           
PLATFORM
           
resource
          Deprecated. 
SERVER
           
SERVICE
           
 
Method Summary
 String getDisplayName()
           
static WebUserPreferences.ResourceVisit.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WebUserPreferences.ResourceVisit.Kind[] 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

resource

@Deprecated
public static final WebUserPreferences.ResourceVisit.Kind resource
Deprecated. 

group

@Deprecated
public static final WebUserPreferences.ResourceVisit.Kind group
Deprecated. 

PLATFORM

public static final WebUserPreferences.ResourceVisit.Kind PLATFORM

SERVER

public static final WebUserPreferences.ResourceVisit.Kind SERVER

SERVICE

public static final WebUserPreferences.ResourceVisit.Kind SERVICE

COMPATIBLE_GROUP

public static final WebUserPreferences.ResourceVisit.Kind COMPATIBLE_GROUP

MIXED_GROUP

public static final WebUserPreferences.ResourceVisit.Kind MIXED_GROUP
Method Detail

values

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

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

valueOf

public static WebUserPreferences.ResourceVisit.Kind 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

getDisplayName

public String getDisplayName()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.