JBoss Managed Parent POM 2.1.1.SP2

org.jboss.managed.api.annotation
Enum ManagementProperties

java.lang.Object
  extended by java.lang.Enum<ManagementProperties>
      extended by org.jboss.managed.api.annotation.ManagementProperties
All Implemented Interfaces:
Serializable, Comparable<ManagementProperties>

public enum ManagementProperties
extends Enum<ManagementProperties>

ManagementProperties.

Version:
$Revision: 90164 $
Author:
Adrian Brock, Scott.Stark@jboss.org

Enum Constant Summary
ALL
          All properties by default
CLASS
          Only @ManagementProperty from the @ManagementObject class annotation
CLASS_AND_EXPLICIT
          Merge @ManagementProperty from the @ManagementObject class annotation and any bean properties annotated with @ManagementProperty
EXPLICIT
          Only bean properties annotated with @ManagementProperty
 
Method Summary
static ManagementProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ManagementProperties[] 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 ManagementProperties ALL
All properties by default


EXPLICIT

public static final ManagementProperties EXPLICIT
Only bean properties annotated with @ManagementProperty


CLASS

public static final ManagementProperties CLASS
Only @ManagementProperty from the @ManagementObject class annotation


CLASS_AND_EXPLICIT

public static final ManagementProperties CLASS_AND_EXPLICIT
Merge @ManagementProperty from the @ManagementObject class annotation and any bean properties annotated with @ManagementProperty

Method Detail

values

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

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

valueOf

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

JBoss Managed Parent POM 2.1.1.SP2

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.