org.zanata.client.commands
Class PutUserOptionsImpl

java.lang.Object
  extended by org.zanata.client.commands.BasicOptionsImpl
      extended by org.zanata.client.commands.ConfigurableOptionsImpl
          extended by org.zanata.client.commands.PutUserOptionsImpl
All Implemented Interfaces:
BasicOptions, ConfigurableOptions, PutUserOptions

public class PutUserOptionsImpl
extends ConfigurableOptionsImpl
implements PutUserOptions

Author:
Sean Flanigan

Constructor Summary
PutUserOptionsImpl()
           
 
Method Summary
 String getCommandDescription()
          Used to generate CLI usage help.
 String getCommandName()
          Used to generate the command line interface and its usage help.
 String getUserEmail()
           
 String getUserKey()
           
 String getUserLangs()
           
 String getUserName()
           
 String getUserPasswordHash()
           
 String getUserRoles()
           
 String getUserUsername()
           
 PutUserCommand initCommand()
           
 boolean isUserDisabled()
           
 void setUserDisabled(boolean disabled)
           
 void setUserEmail(String email)
           
 void setUserKey(String userKey)
           
 void setUserLangs(String userLangs)
           
 void setUserName(String name)
           
 void setUserPasswordHash(String passwordHash)
           
 void setUserRoles(String roles)
           
 void setUserUsername(String username)
           
 
Methods inherited from class org.zanata.client.commands.ConfigurableOptionsImpl
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
 
Methods inherited from class org.zanata.client.commands.BasicOptionsImpl
getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setBatchMode, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zanata.client.commands.ConfigurableOptions
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
 
Methods inherited from interface org.zanata.client.commands.BasicOptions
getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
 

Constructor Detail

PutUserOptionsImpl

public PutUserOptionsImpl()
Method Detail

getCommandName

public String getCommandName()
Description copied from interface: BasicOptions
Used to generate the command line interface and its usage help. This name should match the Maven Mojo's 'goal' annotation and must match the @SubCommand name in ZanataClient.

Specified by:
getCommandName in interface BasicOptions
Returns:

getCommandDescription

public String getCommandDescription()
Description copied from interface: BasicOptions
Used to generate CLI usage help. This description should preferably match the Maven Mojo's Javadoc description.

Specified by:
getCommandDescription in interface BasicOptions
Returns:

initCommand

public PutUserCommand initCommand()
Specified by:
initCommand in interface BasicOptions

setUserName

public void setUserName(String name)
Specified by:
setUserName in interface PutUserOptions

setUserEmail

public void setUserEmail(String email)
Specified by:
setUserEmail in interface PutUserOptions

setUserUsername

public void setUserUsername(String username)
Specified by:
setUserUsername in interface PutUserOptions

setUserPasswordHash

public void setUserPasswordHash(String passwordHash)
Specified by:
setUserPasswordHash in interface PutUserOptions

setUserKey

public void setUserKey(String userKey)
Specified by:
setUserKey in interface PutUserOptions

setUserLangs

public void setUserLangs(String userLangs)
Specified by:
setUserLangs in interface PutUserOptions

setUserRoles

public void setUserRoles(String roles)
Specified by:
setUserRoles in interface PutUserOptions

setUserDisabled

public void setUserDisabled(boolean disabled)
Specified by:
setUserDisabled in interface PutUserOptions

getUserUsername

public String getUserUsername()
Specified by:
getUserUsername in interface PutUserOptions

isUserDisabled

public boolean isUserDisabled()
Specified by:
isUserDisabled in interface PutUserOptions

getUserLangs

public String getUserLangs()
Specified by:
getUserLangs in interface PutUserOptions

getUserKey

public String getUserKey()
Specified by:
getUserKey in interface PutUserOptions

getUserPasswordHash

public String getUserPasswordHash()
Specified by:
getUserPasswordHash in interface PutUserOptions

getUserName

public String getUserName()
Specified by:
getUserName in interface PutUserOptions

getUserEmail

public String getUserEmail()
Specified by:
getUserEmail in interface PutUserOptions

getUserRoles

public String getUserRoles()
Specified by:
getUserRoles in interface PutUserOptions


Copyright © 2013 Zanata Project. All Rights Reserved.