org.zanata.client.commands
Class PutVersionOptionsImpl

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

public class PutVersionOptionsImpl
extends ConfigurableOptionsImpl
implements PutVersionOptions

Author:
Sean Flanigan

Constructor Summary
PutVersionOptionsImpl()
           
 
Method Summary
 String getCommandDescription()
          Used to generate CLI usage help.
 String getCommandName()
          Used to generate the command line interface and its usage help.
 String getProjectType()
           
 String getVersionProject()
           
 String getVersionSlug()
           
 PutVersionCommand initCommand()
           
 void setProjectType(String type)
           
 void setVersionProject(String id)
           
 void setVersionSlug(String id)
           
 
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

PutVersionOptionsImpl

public PutVersionOptionsImpl()
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 PutVersionCommand initCommand()
Specified by:
initCommand in interface BasicOptions

setVersionProject

public void setVersionProject(String id)
Specified by:
setVersionProject in interface PutVersionOptions

setVersionSlug

public void setVersionSlug(String id)
Specified by:
setVersionSlug in interface PutVersionOptions

setProjectType

public void setProjectType(String type)
Specified by:
setProjectType in interface PutVersionOptions

getVersionProject

public String getVersionProject()
Specified by:
getVersionProject in interface PutVersionOptions

getVersionSlug

public String getVersionSlug()
Specified by:
getVersionSlug in interface PutVersionOptions

getProjectType

public String getProjectType()
Specified by:
getProjectType in interface PutVersionOptions


Copyright © 2013 Zanata Project. All Rights Reserved.