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, setCommandName
protected void run()
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
protected final boolean requiresRepository()
requiresRepository
in class TextBuiltin
TextBuiltin.db
/TextBuiltin.getRepository()
is requiredprivate java.lang.String getImplementationVersion()
private java.lang.String getBundleVersion()
private static java.lang.String getBundleVersion(java.net.URL url)