org.rhq.bundle.filetemplate.recipe
Interface RecipeCommand

All Known Implementing Classes:
BundleRecipeCommand, CommandRecipeCommand, ConfigDefRecipeCommand, DeployRecipeCommand, FileRecipeCommand, RealizeRecipeCommand, ScriptRecipeCommand

public interface RecipeCommand


Method Summary
 String getName()
          The name of the recipe command.
 void parse(RecipeParser recipeParser, RecipeContext context, String[] args)
          Parses this recipe command and optionally puts information in the context.
 

Method Detail

getName

String getName()
The name of the recipe command. This must be the first word in the recipe line in order for this command to be triggered.

Returns:
name of the recipe command

parse

void parse(RecipeParser recipeParser,
           RecipeContext context,
           String[] args)
Parses this recipe command and optionally puts information in the context.

Parameters:
parser - the parser that is invoking this command
context - information where the parser can store information regarding the command that was processed
args - arguments passed to the command.


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