Class HelloWorldApp
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.console.AbstractApplication
-
- org.apache.jackrabbit.vault.util.console.examples.HelloWorldApp
-
public class HelloWorldApp 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 HelloWorldApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplicationName()Returns the name of this applicationConsolegetConsole()protected ExecutionContextgetDefaultContext()StringgetShellCommand()Returns the name of the shell commandStringgetSVNVersion()static voidmain(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:AbstractApplicationReturns the name of this application- Specified by:
getApplicationNamein classAbstractApplication- Returns:
- the name of this application
-
getShellCommand
public String getShellCommand()
Description copied from class:AbstractApplicationReturns the name of the shell command- Specified by:
getShellCommandin classAbstractApplication- Returns:
- the name of the shell command
-
getDefaultContext
protected ExecutionContext getDefaultContext()
- Specified by:
getDefaultContextin classAbstractApplication
-
getConsole
public Console getConsole()
- Specified by:
getConsolein classAbstractApplication
-
main
public static void main(String[] args)
-
-