Cumulus4j API
(1.2.0-SNAPSHOT)

org.cumulus4j.keymanager.cli
Class InitDateDependentKeyStrategySubCommand

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyManagerAPI
          extended by org.cumulus4j.keymanager.cli.InitDateDependentKeyStrategySubCommand

public class InitDateDependentKeyStrategySubCommand
extends SubCommandWithKeyManagerAPI

SubCommand implementation for creating & initialising a new key-store with the DateDependentKeyStrategy.

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

Constructor Summary
InitDateDependentKeyStrategySubCommand()
           
 
Method Summary
 String getSubCommandDescription()
          Get the description for this sub-command.
 String getSubCommandName()
          Get the name of the sub-command, i.e.
 void prepare()
           
 void run()
           
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommandWithKeyManagerAPI
getKeyManagerAPI
 
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

InitDateDependentKeyStrategySubCommand

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

prepare

public void prepare()
             throws Exception
Overrides:
prepare in class SubCommandWithKeyManagerAPI
Throws:
Exception

run

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

Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.