org.zanata.client.commands
Class PutProjectOptionsImpl

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

public class PutProjectOptionsImpl
extends ConfigurableOptionsImpl
implements PutProjectOptions

Author:
Sean Flanigan

Constructor Summary
PutProjectOptionsImpl()
           
 
Method Summary
 String getCommandDescription()
          Used to generate CLI usage help.
 String getCommandName()
          Used to generate the command line interface and its usage help.
 String getDefaultProjectType()
           
 String getProjectDesc()
           
 String getProjectName()
           
 String getProjectSlug()
           
 String getSourceCheckoutUrl()
           
 String getSourceViewUrl()
           
 PutProjectCommand initCommand()
           
 void setDefaultProjectType(String defaultProjectType)
           
 void setProjectDesc(String desc)
           
 void setProjectName(String name)
           
 void setProjectSlug(String id)
           
 void setSourceCheckoutUrl(String sourceCheckoutUrl)
           
 void setSourceViewUrl(String sourceViewUrl)
           
 
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

PutProjectOptionsImpl

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

setProjectSlug

public void setProjectSlug(String id)
Specified by:
setProjectSlug in interface PutProjectOptions

setProjectName

public void setProjectName(String name)
Specified by:
setProjectName in interface PutProjectOptions

setProjectDesc

public void setProjectDesc(String desc)
Specified by:
setProjectDesc in interface PutProjectOptions

setSourceViewUrl

public void setSourceViewUrl(String sourceViewUrl)
Specified by:
setSourceViewUrl in interface PutProjectOptions

setSourceCheckoutUrl

public void setSourceCheckoutUrl(String sourceCheckoutUrl)
Specified by:
setSourceCheckoutUrl in interface PutProjectOptions

setDefaultProjectType

public void setDefaultProjectType(String defaultProjectType)
Specified by:
setDefaultProjectType in interface PutProjectOptions

getProjectSlug

public String getProjectSlug()
Specified by:
getProjectSlug in interface PutProjectOptions

getProjectDesc

public String getProjectDesc()
Specified by:
getProjectDesc in interface PutProjectOptions

getProjectName

public String getProjectName()
Specified by:
getProjectName in interface PutProjectOptions

getSourceViewUrl

public String getSourceViewUrl()
Specified by:
getSourceViewUrl in interface PutProjectOptions

getSourceCheckoutUrl

public String getSourceCheckoutUrl()
Specified by:
getSourceCheckoutUrl in interface PutProjectOptions

getDefaultProjectType

public String getDefaultProjectType()
Specified by:
getDefaultProjectType in interface PutProjectOptions


Copyright © 2013 Zanata Project. All Rights Reserved.