1 32 33 package com.jeantessier.commandline; 34 35 39 public interface CommandLineSwitch extends Visitable { 40 public Object getDefaultValue(); 41 public Object getValue(); 42 public void setValue(Object value); 43 public boolean isPresent(); 44 public boolean isMandatory(); 45 public int parse(String name, String value) throws CommandLineException; 46 } 47 | Popular Tags |