io.sarl.apputils.bootiqueapp.version
Class VersionCommand
All Superinterfaces:
io.bootique.command.Command
class VersionCommand
extends java.lang.Object
Command for showing the sarlc version.
Maven Group Identifier:
io.sarl.apputils
Maven Artifact Identifier:
bootiqueapp
Since:
0.8
Property Summary
Modifier and type Property and description
protected java.lang.String versionMessage
Replies the message that should be output by the command.
Constructor Summary
Constructor and description
new(BootLogger)
Constructor.
new(BootLogger,Class<T>,String)
Constructor.
Action Summary
Modifier and type Action and description
protected java.lang.String getVersionMessage
Replies the message that should be output by the command.
io.bootique.command.CommandOutcome run(Cli)
Property Details
versionMessage
protected val versionMessage : java.lang.String
Replies the message that should be output by the command.

This property is an alias for the action: getVersionMessage

Returns:
the message.
Since:
0.11
Constructor Details
new(BootLogger)
new(BootLogger)
Constructor.
Parameters:
bootLogger - the logger.
new(BootLogger,Class<T>,String)
protected new(BootLogger,Class<T>,String)
Constructor.
Parameters:
bootLogger - the logger.
commandType - the type of the command.
description - the description of the command.
Since:
0.11
Action Details
getVersionMessage
protected def getVersionMessage : java.lang.String
Replies the message that should be output by the command.
Returns:
the message.
Since:
0.11
run(Cli)
def run(Cli) : io.bootique.command.CommandOutcome