class Version extends TextBuiltin
TextBuiltin.TerminatedByHelpException| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getBundleVersion() |
private static java.lang.String |
getBundleVersion(java.net.URL url) |
private java.lang.String |
getImplementationVersion() |
protected boolean |
requiresRepository()
If this command requires a repository.
|
protected void |
run()
Perform the actions of this command.
|
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, resolve, setCommandNameprotected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.protected final boolean requiresRepository()
requiresRepository in class TextBuiltinTextBuiltin.db/TextBuiltin.getRepository() is requiredprivate java.lang.String getImplementationVersion()
private java.lang.String getBundleVersion()
private static java.lang.String getBundleVersion(java.net.URL url)