org.rhq.core.domain.bundle
Class ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory

java.lang.Object
  extended by org.rhq.core.domain.bundle.ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory
All Implemented Interfaces:
Serializable
Enclosing class:
ResourceTypeBundleConfiguration

public static class ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory
extends Object
implements Serializable

Defines where bundles can be deployed on a resource that is of our resource type.

See Also:
Serialized Form

Nested Class Summary
static class ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory.Context
          Defines the different places where we can lookup the named value that contains the actual location of the destination base directory.
 
Constructor Summary
ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory(String name, String valueContext, String valueName, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getName()
           
 ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory.Context getValueContext()
           
 String getValueName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory

public ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory(String name,
                                                                      String valueContext,
                                                                      String valueName,
                                                                      String description)
Method Detail

getName

public String getName()
Returns:
the name of this bundle destination base directory (will not be null)

getValueContext

public ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory.Context getValueContext()
Returns:
indicates where the value's name can be looked up and found. This must be one of the enums found in ResourceTypeBundleConfiguration.BundleDestinationBaseDirectory.Context

getValueName

public String getValueName()
Returns:
the name of the property found in the given context where the value of the base directory is

getDescription

public String getDescription()
Returns:
an explanation for what this directory location is

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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