public interface CommandLineListener
getCommandLineConfiguration() which points to the URL describing the arguments structure used by the listenerhandleCommandLineArguments(java.util.Map, java.util.Map) which points to the method specifying how to handle the parsed
arguments| Modifier and Type | Method and Description |
|---|---|
default java.net.URL |
getCommandLineConfiguration()
Return the configuration of the CommandLine arguments managed by the Plugin.
|
default CommandLineHandler |
getCommandLineHandler()
Return the command-line handler.
|
default boolean |
handleCommandLineArguments(java.io.File dir,
java.util.Map<java.lang.String,java.lang.String> arguments)
Return true if this listener handles command-line arguments.
|
default void |
handleCommandLineArguments(java.util.Map<java.lang.String,ArgumentGroup> argumentGroups,
java.util.Map<java.lang.String,Argument> arguments) |
default void |
handleCommandLineException(org.xml.sax.SAXParseException exception)
Called when a SAX exception appear when parsing the command-line configuration.
|
default boolean |
preventOpeningApplication()
Return true if the application must not be make visible.
|
default void |
setCommandLineHandler(CommandLineHandler handler)
Set the command-line handler.
|
default boolean preventOpeningApplication()
default void setCommandLineHandler(CommandLineHandler handler)
handler - the handlerdefault CommandLineHandler getCommandLineHandler()
default java.net.URL getCommandLineConfiguration()
default boolean handleCommandLineArguments(java.io.File dir,
java.util.Map<java.lang.String,java.lang.String> arguments)
dir - the base directoryarguments - the argumentsdefault void handleCommandLineArguments(java.util.Map<java.lang.String,ArgumentGroup> argumentGroups, java.util.Map<java.lang.String,Argument> arguments)
default void handleCommandLineException(org.xml.sax.SAXParseException exception)
exception - the SAX exception