Cumulus4j API
(1.1.0)

org.cumulus4j.keymanager.cli
Class LicenceSubCommand

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.LicenceSubCommand
Direct Known Subclasses:
LicenseSubCommand

public class LicenceSubCommand
extends SubCommand

SubCommand implementation for showing the licence.

Calling this will simply output the AGPL onto the console.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
LicenceSubCommand()
           
 
Method Summary
 String getSubCommandDescription()
          Get the description for this sub-command.
 String getSubCommandName()
          Get the name of the sub-command, i.e.
 void run()
           
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommand
prepare, promptPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenceSubCommand

public LicenceSubCommand()
Method Detail

getSubCommandName

public String getSubCommandName()
Description copied from class: SubCommand
Get the name of the sub-command, i.e. what the user has to write in the command line.

Specified by:
getSubCommandName in class SubCommand
Returns:
the name of the sub-command.

getSubCommandDescription

public String getSubCommandDescription()
Description copied from class: SubCommand
Get the description for this sub-command.

Specified by:
getSubCommandDescription in class SubCommand
Returns:
the description.

run

public void run()
         throws Exception
Specified by:
run in class SubCommand
Throws:
Exception

Cumulus4j API
(1.1.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.