public interface BundleServerPluginFacet
| Modifier and Type | Method and Description |
|---|---|
RecipeParseResults |
parseRecipe(String recipe)
The server side plugin is being given a recipe which must be parsed.
|
BundleDistributionInfo |
processBundleDistributionFile(File distributionFile)
The server side plugin is being given an bundle distribution file that must be procssed.
|
RecipeParseResults parseRecipe(String recipe) throws UnknownRecipeException, Exception
recipe - the content of the recipe to be parsedUnknownRecipeException - if the recipe is not understood by the plugin (i.e.
it is a recipe that some other bundle plugin probably
can process)Exception - if the recipe could not be successfully parsed - this exception
usually means the recipe type is known to the plugin but it just
had some error that caused it to fail to parse successfullyBundleDistributionInfo processBundleDistributionFile(File distributionFile) throws UnknownRecipeException, Exception
distributionFile - UnknownRecipeException - if the recipe in the distribution file is not understood by the
plugin (i.e. the distribution file can probably be processed by some other
bundle plugin).Exception - if the bundle distribution file could not be successfully processed - this exception
usually means the distribution file is of a known type to the plugin but it just
had some error that caused it to fail to be processed successfully.Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.