org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.PARAM<T extends HamletSpec._>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
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
| 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 |
Hamlet.PARAM
public Hamlet.PARAM(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts)
$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 © 2012 Apache Software Foundation. All Rights Reserved.