Cumulus4j API
(1.0.0)

org.cumulus4j.keymanager.cli
Class InfoSubCommand

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyStore
          extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyStoreWithAuth
              extended by org.cumulus4j.keymanager.cli.InfoSubCommand

public class InfoSubCommand
extends SubCommandWithKeyStoreWithAuth

SubCommand implementation for showing various infos about a key-store.

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

Constructor Summary
InfoSubCommand()
           
 
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.SubCommandWithKeyStoreWithAuth
getAuthPassword, getAuthPasswordAsCharArray, getAuthUserName, prepare
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommandWithKeyStore
getKeyStore, getKeyStoreFile
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommand
promptPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoSubCommand

public InfoSubCommand()
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.0.0)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.