water
Class Arguments.Opt

java.lang.Object
  extended by water.Arguments.Arg
      extended by water.Arguments.Opt
Direct Known Subclasses:
H2O.OptArgs, RandomForest.OptArgs
Enclosing class:
Arguments

public static class Arguments.Opt
extends Arguments.Arg

Optional arguments. The instance fields of this class are treated as optional arguments, if they appear on the command line they will be extracted and the corresponding field will be set to the extracted value. If not found the field is left untouched (the orginal value is not modified).


Constructor Summary
Arguments.Opt()
           
 
Method Summary
 java.lang.String usage()
           
 boolean validate()
           
 
Methods inherited from class water.Arguments.Arg
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Arguments.Opt

public Arguments.Opt()
Method Detail

usage

public java.lang.String usage()
Specified by:
usage in class Arguments.Arg

validate

public boolean validate()
Specified by:
validate in class Arguments.Arg