edu.byu.ece.edif.util.jsap.commandgroups
Class AbstractCommandGroup

java.lang.Object
  extended by edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
All Implemented Interfaces:
CommandGroup
Direct Known Subclasses:
CircuitDescriptionCommandGroup, ClockDomainCommandGroup, ConfigFileCommandGroup, CutFeedbackCommandGroup, InputFileCommandGroup, IOBCommandGroup, JEdifAnalyzeCommandGroup, JEdifDetectionSelectionCommandGroup, JEdifNMRSelectionCommandGroup, JEdifPersistenceDetectionCommandGroup, JEdifSterilizeCommandGroup, LogFileCommandGroup, MoreFrequentVotingCommandGroup, MultipleInputFileCommandGroup, OutputFileCommandGroup, ReplicationDescriptionCommandGroup, ReplicationTypeCommandGroup, TechnologyCommandGroup

public abstract class AbstractCommandGroup
extends java.lang.Object
implements CommandGroup

This class provides a way to easily group and maintain command line options for the edif tools, using JSAP. Classes that inherit from this class should be used in conjunction with the EdifCommandParser

Author:
dsgib
See Also:
EdifCommandParser, JSAP API, JSAP Homepage, JSAP

Field Summary
(package private)  java.util.Collection<com.martiansoftware.jsap.Parameter> _options
           
 
Constructor Summary
AbstractCommandGroup()
           
 
Method Summary
 void addCommand(com.martiansoftware.jsap.Parameter o)
           
 java.util.Collection<com.martiansoftware.jsap.Parameter> getCommands()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_options

java.util.Collection<com.martiansoftware.jsap.Parameter> _options
Constructor Detail

AbstractCommandGroup

public AbstractCommandGroup()
Method Detail

addCommand

public void addCommand(com.martiansoftware.jsap.Parameter o)

getCommands

public java.util.Collection<com.martiansoftware.jsap.Parameter> getCommands()
Specified by:
getCommands in interface CommandGroup