org.rhq.core.domain.bundle
Class BundleVersion
java.lang.Object
org.rhq.core.domain.bundle.BundleVersion
- All Implemented Interfaces:
- Serializable
public class BundleVersion
- extends Object
- implements Serializable
Defines a versioned bundle of content that can be provisioned somewhere.
- See Also:
- Serialized Form
UPDATE_VERSION_ORDER_BY_BUNDLE_ID
public static final String UPDATE_VERSION_ORDER_BY_BUNDLE_ID
- See Also:
- Constant Field Values
QUERY_FIND_LATEST_BY_BUNDLE_ID
public static final String QUERY_FIND_LATEST_BY_BUNDLE_ID
- See Also:
- Constant Field Values
QUERY_FIND_VERSION_INFO_BY_BUNDLE_ID
public static final String QUERY_FIND_VERSION_INFO_BY_BUNDLE_ID
- See Also:
- Constant Field Values
QUERY_FIND_ALL
public static final String QUERY_FIND_ALL
- See Also:
- Constant Field Values
QUERY_FIND_BY_NAME
public static final String QUERY_FIND_BY_NAME
- See Also:
- Constant Field Values
QUERY_FIND_BY_BUNDLE_ID
public static final String QUERY_FIND_BY_BUNDLE_ID
- See Also:
- Constant Field Values
BundleVersion
public BundleVersion()
BundleVersion
public BundleVersion(String name,
String version,
Bundle bundle,
String recipe)
getId
public int getId()
setId
public void setId(int id)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
getVersionOrder
public int getVersionOrder()
setVersionOrder
public void setVersionOrder(int versionOrder)
getRecipe
public String getRecipe()
setRecipe
public void setRecipe(String recipe)
getBundle
public Bundle getBundle()
setBundle
public void setBundle(Bundle bundle)
getConfigurationDefinition
public ConfigurationDefinition getConfigurationDefinition()
- Returns the metadata that describes the configuration that must be set in order for this
bundle to be properly deployed. Think of this as "the questions that the user must answer"
in order to provide values that are needed to deploy the content. This definition
describes the
bundle config data
.
- Returns:
- defines the values that must be set in order for this bundle to be deployed properly
setConfigurationDefinition
public void setConfigurationDefinition(ConfigurationDefinition configurationDefinition)
getBundleDeployments
public List<BundleDeployment> getBundleDeployments()
setBundleDeployments
public void setBundleDeployments(List<BundleDeployment> bundleDeployments)
addBundleDeployment
public void addBundleDeployment(BundleDeployment bundleDeployment)
getBundleFiles
public List<BundleFile> getBundleFiles()
addBundleFile
public void addBundleFile(BundleFile bundleFile)
setBundleFiles
public void setBundleFiles(List<BundleFile> bundleFiles)
getTags
public Set<Tag> getTags()
setTags
public void setTags(Set<Tag> tags)
addTag
public void addTag(Tag tag)
removeTag
public boolean removeTag(Tag tag)
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.