org.zanata.client.commands.stats
Class GetStatisticsOptionsImpl

java.lang.Object
  extended by org.zanata.client.commands.BasicOptionsImpl
      extended by org.zanata.client.commands.ConfigurableOptionsImpl
          extended by org.zanata.client.commands.ConfigurableProjectOptionsImpl
              extended by org.zanata.client.commands.stats.GetStatisticsOptionsImpl
All Implemented Interfaces:
BasicOptions, ConfigurableOptions, ConfigurableProjectOptions, GetStatisticsOptions

public class GetStatisticsOptionsImpl
extends ConfigurableProjectOptionsImpl
implements GetStatisticsOptions

Author:
Carlos Munoz camunoz@redhat.com

Constructor Summary
GetStatisticsOptionsImpl()
           
 
Method Summary
 String getCommandDescription()
          Used to generate CLI usage help.
 String getCommandName()
          Used to generate the command line interface and its usage help.
 String getDocumentId()
           
 String getFormat()
           
 boolean getIncludeDetails()
           
 boolean getIncludeWordLevelStats()
           
 ZanataCommand initCommand()
           
 void setDocumentId(String documentId)
           
 void setFormat(String format)
           
 void setIncludeDetails(boolean includeDetails)
           
 void setIncludeWordLevelStats(boolean includeWordLevelStats)
           
 
Methods inherited from class org.zanata.client.commands.ConfigurableProjectOptionsImpl
getLocaleMapList, getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion
 
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.ConfigurableProjectOptions
getLocaleMapList, getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion
 
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

GetStatisticsOptionsImpl

public GetStatisticsOptionsImpl()
Method Detail

getIncludeDetails

public boolean getIncludeDetails()
Specified by:
getIncludeDetails in interface GetStatisticsOptions

setIncludeDetails

public void setIncludeDetails(boolean includeDetails)
Specified by:
setIncludeDetails in interface GetStatisticsOptions

getIncludeWordLevelStats

public boolean getIncludeWordLevelStats()
Specified by:
getIncludeWordLevelStats in interface GetStatisticsOptions

setIncludeWordLevelStats

public void setIncludeWordLevelStats(boolean includeWordLevelStats)
Specified by:
setIncludeWordLevelStats in interface GetStatisticsOptions

getFormat

public String getFormat()
Specified by:
getFormat in interface GetStatisticsOptions

setFormat

public void setFormat(String format)
Specified by:
setFormat in interface GetStatisticsOptions

getDocumentId

public String getDocumentId()
Specified by:
getDocumentId in interface GetStatisticsOptions

setDocumentId

public void setDocumentId(String documentId)
Specified by:
setDocumentId in interface GetStatisticsOptions

initCommand

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

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:


Copyright © 2013 Zanata Project. All Rights Reserved.