edu.cmu.minorthird.ui
Class CommandLineUtil.BaseParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by edu.cmu.minorthird.ui.CommandLineUtil.BaseParams
All Implemented Interfaces:
CommandLineProcessor, Saveable
Enclosing class:
CommandLineUtil

public static class CommandLineUtil.BaseParams
extends BasicCommandLineProcessor

Basic parameters used by almost everything.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 boolean classic
           
 MonotonicTextLabels labels
           
 java.lang.String labelsFilenameHelp
           
 java.lang.String repositoryKey
           
 boolean showLabels
           
 boolean showResult
           
 
Constructor Summary
CommandLineUtil.BaseParams()
           
 
Method Summary
 void classic()
           
 java.lang.Object[] getAllowedRepositoryKeyValues()
           
 java.lang.String getLabelsFilename()
           
 java.lang.String getLabelsFilenameHelp()
           
 java.lang.String getRepositoryKey()
           
 void labels(java.lang.String repositoryKey)
           
 void setLabelsFilename(java.lang.String name)
           
 void setRepositoryKey(java.lang.String key)
           
 void showLabels()
           
 void showResult()
           
 void usage()
          Override this to print a meaningful usage error.
 
Methods inherited from class edu.cmu.minorthird.util.BasicCommandLineProcessor
config, config, consumeArguments, getExtensionFor, getFormatNames, help, main, processArguments, propertyList, propertyValue, restore, saveAs, shouldTerminate, tryToGetCLP, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labels

public MonotonicTextLabels labels

repositoryKey

public java.lang.String repositoryKey

showLabels

public boolean showLabels

showResult

public boolean showResult

classic

public boolean classic

labelsFilenameHelp

public java.lang.String labelsFilenameHelp
Constructor Detail

CommandLineUtil.BaseParams

public CommandLineUtil.BaseParams()
Method Detail

labels

public void labels(java.lang.String repositoryKey)

showLabels

public void showLabels()

showResult

public void showResult()

classic

public void classic()

usage

public void usage()
Description copied from class: BasicCommandLineProcessor
Override this to print a meaningful usage error. Default will list all commands other than 'usage', 'help', 'getX', and 'setX'.

Specified by:
usage in interface CommandLineProcessor
Overrides:
usage in class BasicCommandLineProcessor

getLabelsFilename

public java.lang.String getLabelsFilename()

setLabelsFilename

public void setLabelsFilename(java.lang.String name)

getRepositoryKey

public java.lang.String getRepositoryKey()

setRepositoryKey

public void setRepositoryKey(java.lang.String key)

getAllowedRepositoryKeyValues

public java.lang.Object[] getAllowedRepositoryKeyValues()

getLabelsFilenameHelp

public java.lang.String getLabelsFilenameHelp()