com.crankuptheamps.spark
Class CommandOption

java.lang.Object
  extended by com.crankuptheamps.spark.CommandOption

public class CommandOption
extends Object


Constructor Summary
CommandOption(String name, String description, boolean required)
           
CommandOption(String name, String description, String defaultValue)
           
 
Method Summary
 String getDefaultValue()
           
 String getDescription()
           
 String getName()
           
 String getValue()
           
 boolean hasValue()
           
 boolean isRequired()
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandOption

public CommandOption(String name,
                     String description,
                     boolean required)

CommandOption

public CommandOption(String name,
                     String description,
                     String defaultValue)
Method Detail

getName

public String getName()

getValue

public String getValue()

setValue

public void setValue(String value)

hasValue

public boolean hasValue()

getDescription

public String getDescription()

isRequired

public boolean isRequired()

getDefaultValue

public String getDefaultValue()