org.rhq.core.domain.resource.group
Class ClusterKey.Node

java.lang.Object
  extended by org.rhq.core.domain.resource.group.ClusterKey.Node
All Implemented Interfaces:
Serializable
Enclosing class:
ClusterKey

public static class ClusterKey.Node
extends Object
implements Serializable

Immutable class representing a node in an AutoCluster hierarchy. The node describes a Set of like resources (same type and same resource key). By itself the node lacks any context and so typically this class is for use within a ClusterKey, which qualifies the node with the root group and constraining node ancestry..

See Also:
Serialized Form

Constructor Summary
ClusterKey.Node()
           
ClusterKey.Node(int resourceTypeId, String resourceKey)
           
 
Method Summary
 String getResourceKey()
           
 int getResourceTypeId()
           
 String toString()
          format: resourceTypeId:resourceKey (actual delimiter is ClusterKey.DELIM)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterKey.Node

public ClusterKey.Node()

ClusterKey.Node

public ClusterKey.Node(int resourceTypeId,
                       String resourceKey)
Method Detail

getResourceTypeId

public int getResourceTypeId()

getResourceKey

public String getResourceKey()

toString

public String toString()
format: resourceTypeId:resourceKey (actual delimiter is ClusterKey.DELIM)

Overrides:
toString in class Object


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