Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands
Class PropertyCommand

java.lang.Object
  extended by org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands.PropertyCommand
All Implemented Interfaces:
Command

public class PropertyCommand
extends Object
implements Command

Sets a property that is valid along the current preprocessing context.

Author:
Bogdan Stefanescu

Field Summary
protected  String name
           
protected  String value
           
 
Constructor Summary
PropertyCommand(String name, String value)
           
 
Method Summary
 void exec(CommandContext ctx)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

value

protected final String value
Constructor Detail

PropertyCommand

public PropertyCommand(String name,
                       String value)
Method Detail

exec

public void exec(CommandContext ctx)
          throws IOException
Specified by:
exec in interface Command
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.