org.codehaus.mojo.gwt.shell
Class JavaCommand

java.lang.Object
  extended by org.codehaus.mojo.gwt.shell.JavaCommand

public class JavaCommand
extends Object

Since:
2.1.0-1
Author:
Olivier Lamy

Field Summary
protected  org.codehaus.plexus.util.cli.StreamConsumer out
          A plexus-util StreamConsumer to redirect messages to plugin log
 
Constructor Summary
JavaCommand(JavaCommandRequest javaCommandRequest)
           
 
Method Summary
 JavaCommand arg(boolean condition, String arg)
           
 JavaCommand arg(String arg)
           
 JavaCommand arg(String arg, String value)
           
 JavaCommand environment(String name, String value)
           
 void execute()
           
 JavaCommand systemProperty(String name, String value)
           
 JavaCommand withinClasspath(File... path)
           
 void withinClasspathFirst(File oophmJar)
           
 JavaCommand withinScope(String scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected org.codehaus.plexus.util.cli.StreamConsumer out
A plexus-util StreamConsumer to redirect messages to plugin log

Constructor Detail

JavaCommand

public JavaCommand(JavaCommandRequest javaCommandRequest)
Method Detail

withinScope

public JavaCommand withinScope(String scope)
                        throws MojoExecutionException
Throws:
MojoExecutionException

withinClasspath

public JavaCommand withinClasspath(File... path)

arg

public JavaCommand arg(String arg)

arg

public JavaCommand arg(String arg,
                       String value)

arg

public JavaCommand arg(boolean condition,
                       String arg)

systemProperty

public JavaCommand systemProperty(String name,
                                  String value)

environment

public JavaCommand environment(String name,
                               String value)

execute

public void execute()
             throws JavaCommandException
Throws:
JavaCommandException

withinClasspathFirst

public void withinClasspathFirst(File oophmJar)


Copyright © 2007-2012 Codehaus. All Rights Reserved.