Nuxeo Enterprise Platform 5.4

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

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

public class PropertyCommand
extends java.lang.Object
implements Command

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

Author:
Bogdan Stefanescu

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

Constructor Detail

PropertyCommand

public PropertyCommand(java.lang.String name,
                       java.lang.String value)
Method Detail

exec

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(CommandContext ctx)
Specified by:
toString in interface Command

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.