org.rhq.enterprise.server.bundle
Class BundleDistributionInfo

java.lang.Object
  extended by org.rhq.enterprise.server.bundle.BundleDistributionInfo

public class BundleDistributionInfo
extends Object

Information found when a Bundle Distribution file is cracked open and inspected.

Author:
John Mazzitelli

Constructor Summary
BundleDistributionInfo(String recipe, RecipeParseResults recipeParseResults, Map<String,File> bundleFiles)
           
 
Method Summary
 Map<String,File> getBundleFiles()
          If the bundle distribution file contained within it one or more bundle files that need to be associated with the bundle version, this map will contain those files.
 String getBundleTypeName()
           
 String getRecipe()
           
 RecipeParseResults getRecipeParseResults()
          The information gleened from the recipe that was found in the bundle distribution file.
 void setBundleTypeName(String bundleTypeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleDistributionInfo

public BundleDistributionInfo(String recipe,
                              RecipeParseResults recipeParseResults,
                              Map<String,File> bundleFiles)
Method Detail

getRecipeParseResults

public RecipeParseResults getRecipeParseResults()
The information gleened from the recipe that was found in the bundle distribution file.

Returns:
the recipe information

getBundleFiles

public Map<String,File> getBundleFiles()
If the bundle distribution file contained within it one or more bundle files that need to be associated with the bundle version, this map will contain those files. The key to the map is the name of the bundle file as referenced to it via the recipe (i.e. the keys will be filenames that are mentioned in the parse results). The values are files referencing the bundle files' content - it is the job of the server side plugin to extract the bundle files from the bundle distribution file and store them on the local file system.

Returns:
names and file locations of all bundle files found in the bundle distribution file

getBundleTypeName

public String getBundleTypeName()

getRecipe

public String getRecipe()

setBundleTypeName

public void setBundleTypeName(String bundleTypeName)


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