JBossMX Parent POM 6.0.0.GA

javax.management
Enum Impact

java.lang.Object
  extended by java.lang.Enum<Impact>
      extended by javax.management.Impact
All Implemented Interfaces:
Serializable, Comparable<Impact>

public enum Impact
extends Enum<Impact>

Impact.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Enum Constant Summary
ACTION
          Performs some action
ACTION_INFO
          Performs some action and returns information
INFO
          Returns information
UNKNOWN
          Unspecified
 
Method Summary
static Impact forCode(int code)
          Get the impact for a code specified in MBeanOperationInfo
 int getCode()
          Get the equivalent code for use in the MBeanOperationInfo
static Impact valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Impact[] 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

ACTION

public static final Impact ACTION
Performs some action


ACTION_INFO

public static final Impact ACTION_INFO
Performs some action and returns information


INFO

public static final Impact INFO
Returns information


UNKNOWN

public static final Impact UNKNOWN
Unspecified

Method Detail

values

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

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

valueOf

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

getCode

public int getCode()
Get the equivalent code for use in the MBeanOperationInfo

Returns:
the code

forCode

public static Impact forCode(int code)
Get the impact for a code specified in MBeanOperationInfo

Parameters:
code - the code
Returns:
the impact

JBossMX Parent POM 6.0.0.GA

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