org.zanata.client.commands
Class PutUserOptionsImpl
java.lang.Object
org.zanata.client.commands.BasicOptionsImpl
org.zanata.client.commands.ConfigurableOptionsImpl
org.zanata.client.commands.PutUserOptionsImpl
- All Implemented Interfaces:
- BasicOptions, ConfigurableOptions, PutUserOptions
public class PutUserOptionsImpl
- extends ConfigurableOptionsImpl
- implements PutUserOptions
- Author:
- Sean Flanigan
| 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 |
PutUserOptionsImpl
public PutUserOptionsImpl()
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.