org.rhq.core.pluginapi.inventory
Enum PluginContainerDeployment

java.lang.Object
  extended by java.lang.Enum<PluginContainerDeployment>
      extended by org.rhq.core.pluginapi.inventory.PluginContainerDeployment
All Implemented Interfaces:
Serializable, Comparable<PluginContainerDeployment>

public enum PluginContainerDeployment
extends Enum<PluginContainerDeployment>

This enum indicates where the plugin container (and therefore the plugins) are deployed.


Enum Constant Summary
AGENT
          Indicates the plugin container is deployed inside an external agent.
EMBEDDED
          Indicates the plugin container is embedded directly inside some managed resource.
 
Method Summary
static PluginContainerDeployment valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PluginContainerDeployment[] 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

AGENT

public static final PluginContainerDeployment AGENT
Indicates the plugin container is deployed inside an external agent. All managed resources are going to be remote from where the plugins reside.


EMBEDDED

public static final PluginContainerDeployment EMBEDDED
Indicates the plugin container is embedded directly inside some managed resource. In other words, the plugin container is running inside a resource that is itself being managed by one or more plugins.

Method Detail

values

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

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

valueOf

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


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.