org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.PARAM<T extends HamletSpec._>

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
      extended by org.apache.hadoop.yarn.webapp.hamlet.Hamlet.PARAM<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Child, HamletSpec.PARAM
Enclosing class:
Hamlet

public class Hamlet.PARAM<T extends HamletSpec._>
extends HamletImpl.EImp<T>
implements HamletSpec.PARAM


Constructor Summary
Hamlet.PARAM(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.PARAM<T> $id(String value)
          document-wide unique id
 Hamlet.PARAM<T> $name(String value)
          property name.
 Hamlet.PARAM<T> $value(String value)
          property value
 
Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hamlet.PARAM

public Hamlet.PARAM(String name,
                    T parent,
                    EnumSet<HamletImpl.EOpt> opts)
Method Detail

$id

public Hamlet.PARAM<T> $id(String value)
Description copied from interface: HamletSpec.PARAM
document-wide unique id

Specified by:
$id in interface HamletSpec.PARAM
Parameters:
value - the id
Returns:
the current element builder

$name

public Hamlet.PARAM<T> $name(String value)
Description copied from interface: HamletSpec.PARAM
property name. Required.

Specified by:
$name in interface HamletSpec.PARAM
Parameters:
value - the name
Returns:
the current element builder

$value

public Hamlet.PARAM<T> $value(String value)
Description copied from interface: HamletSpec.PARAM
property value

Specified by:
$value in interface HamletSpec.PARAM
Parameters:
value - the value
Returns:
the current element builder


Copyright © 2014 Apache Software Foundation. All Rights Reserved.