Cumulus4j API
(1.0.1)

org.cumulus4j.keymanager.cli
Class PutUserSubCommand

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

public class PutUserSubCommand
extends SubCommandWithKeyManagerAPIWithAuth

SubCommand implementation for creating a new user or updating an existing one.

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

Constructor Summary
PutUserSubCommand()
           
 
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.SubCommandWithKeyManagerAPIWithAuth
getAuthPassword, getAuthPasswordAsCharArray, getAuthUserName
 
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

PutUserSubCommand

public PutUserSubCommand()
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 SubCommandWithKeyManagerAPIWithAuth
Throws:
Exception

run

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

Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.