org.rhq.bundle.filetemplate.recipe
Class RealizeRecipeCommand

java.lang.Object
  extended by org.rhq.bundle.filetemplate.recipe.RealizeRecipeCommand
All Implemented Interfaces:
RecipeCommand

public class RealizeRecipeCommand
extends Object
implements RecipeCommand


Constructor Summary
RealizeRecipeCommand()
           
 
Method Summary
 String getName()
          The name of the recipe command.
 void parse(RecipeParser parser, RecipeContext context, String[] args)
          Parses this recipe command and optionally puts information in the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealizeRecipeCommand

public RealizeRecipeCommand()
Method Detail

getName

public String getName()
Description copied from interface: RecipeCommand
The name of the recipe command. This must be the first word in the recipe line in order for this command to be triggered.

Specified by:
getName in interface RecipeCommand
Returns:
name of the recipe command

parse

public void parse(RecipeParser parser,
                  RecipeContext context,
                  String[] args)
Description copied from interface: RecipeCommand
Parses this recipe command and optionally puts information in the context.

Specified by:
parse in interface RecipeCommand
context - information where the parser can store information regarding the command that was processed
args - arguments passed to the command.


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