org.netbeans.modules.sendopts/2 2.25.1

org.netbeans.spi.sendopts
Interface ArgsProcessor


public interface ArgsProcessor

Method in this interface is invoked to finish processing of options defined by subclass of this interface. public fields annotated by Arg have been initialized before the process(org.netbeans.spi.sendopts.Env) method is invoked. The subclass needs to have public default constructor.

For headless NetBeans applications: command line argument processing is the last step in the boot sequence; services and classes offered by the platform have been initialized at this point. Application code in process(org.netbeans.spi.sendopts.Env) can safely use the platform.

Since:
2.20

Method Summary
 void process(Env env)
          Called after all fields annotated with @Arg are filled with appropriate values.
 

Method Detail

process

void process(Env env)
             throws CommandException
Called after all fields annotated with @Arg are filled with appropriate values.

Parameters:
env - environment for the execution - current working directory, stdin, stdout, stderr
Throws:
CommandException - if the parameters don't make sense, throw an exception

org.netbeans.modules.sendopts/2 2.25.1

Built on June 6 2013.  |  Portions Copyright 1997-2013 Oracle. All rights reserved.