com.cloudera.lib.wsrs
Class BooleanParam

java.lang.Object
  extended by com.cloudera.lib.wsrs.Param<Boolean>
      extended by com.cloudera.lib.wsrs.BooleanParam
Direct Known Subclasses:
DeleteRecursiveParam, OverwriteParam

public abstract class BooleanParam
extends Param<Boolean>


Field Summary
 
Fields inherited from class com.cloudera.lib.wsrs.Param
value
 
Constructor Summary
BooleanParam(String name, String str)
           
 
Method Summary
protected  String getDomain()
           
protected  Boolean parse(String str)
           
 
Methods inherited from class com.cloudera.lib.wsrs.Param
parseParam, setValue, toString, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanParam

public BooleanParam(String name,
                    String str)
Method Detail

parse

protected Boolean parse(String str)
                 throws Exception
Specified by:
parse in class Param<Boolean>
Throws:
Exception

getDomain

protected String getDomain()
Specified by:
getDomain in class Param<Boolean>


Copyright © 2012 Cloudera. All Rights Reserved.