Cumulus4j API
(1.0.1)

org.cumulus4j.keymanager.cli
Class SubCommandWithKeyStore

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyStore
Direct Known Subclasses:
SubCommandWithKeyStoreWithAuth

public abstract class SubCommandWithKeyStore
extends SubCommand

Abstract SubCommand implementation for being subclassed when a key-store is used.

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

Constructor Summary
SubCommandWithKeyStore()
           
 
Method Summary
 KeyStore getKeyStore()
           
 File getKeyStoreFile()
           
 void prepare()
           
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommand
getSubCommandDescription, getSubCommandName, promptPassword, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubCommandWithKeyStore

public SubCommandWithKeyStore()
Method Detail

getKeyStoreFile

public File getKeyStoreFile()

getKeyStore

public KeyStore getKeyStore()

prepare

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

Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.