org.apache.hadoop.yarn.webapp.hamlet
Interface HamletSpec._Param

All Superinterfaces:
HamletSpec._, HamletSpec._Child
All Known Subinterfaces:
HamletSpec.OBJECT
All Known Implementing Classes:
Hamlet.OBJECT
Enclosing class:
HamletSpec

public static interface HamletSpec._Param
extends HamletSpec._Child


Method Summary
 HamletSpec.PARAM param()
          Add a PARAM (parameter) element.
 HamletSpec._Param param(String name, String value)
          Add a PARAM element.
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Child
_
 

Method Detail

param

HamletSpec.PARAM param()
Add a PARAM (parameter) element.

Returns:
a new PARAM element builder

param

HamletSpec._Param param(String name,
                        String value)
Add a PARAM element. Shortcut of param().$name(name).$value(value)._();

Parameters:
name - of the value
value - the value
Returns:
the current element builder


Copyright © 2012 Apache Software Foundation. All Rights Reserved.