org.chromattic.api
Class ChromatticBuilder.Option.Type<D>

java.lang.Object
  extended by org.chromattic.api.ChromatticBuilder.Option.Type<D>
Type Parameters:
D - the data type
Enclosing class:
ChromatticBuilder.Option<D>

public abstract static class ChromatticBuilder.Option.Type<D>
extends java.lang.Object

The type of an option.


Field Summary
static ChromatticBuilder.Option.Type<java.lang.Boolean> BOOLEAN
          .
static ChromatticBuilder.Option.Type<java.lang.String> STRING
          .
 
Method Summary
protected abstract  D doParse(java.lang.String value)
          Performs the effective parse, when called the value will never be null.
 D parse(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final ChromatticBuilder.Option.Type<java.lang.String> STRING
.


BOOLEAN

public static final ChromatticBuilder.Option.Type<java.lang.Boolean> BOOLEAN
.

Method Detail

parse

public final D parse(java.lang.String value)

doParse

protected abstract D doParse(java.lang.String value)
Performs the effective parse, when called the value will never be null.

Parameters:
value - the value to parse
Returns:
the parsed value


Copyright © 2014 eXo Platform SAS. All Rights Reserved.