Class ShellApp
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.console.AbstractApplication
-
- org.apache.jackrabbit.vault.util.console.platform.ShellApp
-
public class ShellApp extends AbstractApplication
HelloWorldApp
...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.vault.util.console.AbstractApplication
DEFAULT_CONF_FILENAME, KEY_HOST, KEY_LOGLEVEL, KEY_PATH, KEY_PROMPT, KEY_USER
-
-
Constructor Summary
Constructors Constructor Description ShellApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationName()
Returns the name of this applicationConsole
getConsole()
protected ExecutionContext
getDefaultContext()
String
getShellCommand()
Returns the name of the shell commandString
getSVNVersion()
static void
main(String[] args)
-
Methods inherited from class org.apache.jackrabbit.vault.util.console.AbstractApplication
addApplicationOptions, close, execute, getAppHelpFormatter, getApplicationCLGroup, getCopyrightLine, getEnv, getPomProperties, getProperty, getVersion, getVersionString, init, loadConfig, prepare, printHelp, printVersion, run, saveConfig, setLogLevel, setProperty
-
-
-
-
Method Detail
-
getSVNVersion
public String getSVNVersion()
-
getApplicationName
public String getApplicationName()
Description copied from class:AbstractApplication
Returns the name of this application- Specified by:
getApplicationName
in classAbstractApplication
- Returns:
- the name of this application
-
getShellCommand
public String getShellCommand()
Description copied from class:AbstractApplication
Returns the name of the shell command- Specified by:
getShellCommand
in classAbstractApplication
- Returns:
- the name of the shell command
-
getDefaultContext
protected ExecutionContext getDefaultContext()
- Specified by:
getDefaultContext
in classAbstractApplication
-
getConsole
public Console getConsole()
- Specified by:
getConsole
in classAbstractApplication
-
main
public static void main(String[] args)
-
-