@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public class HamletGen
extends Object
| Constructor and Description | 
|---|
| HamletGen() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | generate(Class<?> specClass,
        Class<?> implClass,
        String outputName,
        String outputPkg)Generate a specific Hamlet implementation from a spec. | 
| static void | main(String[] args) | 
public void generate(Class<?> specClass, Class<?> implClass, String outputName, String outputPkg) throws IOException
specClass - holds hamlet interfaces. e.g. HamletSpecimplClass - a generic hamlet implementation. e.g. HamletImploutputName - name of the output class. e.g. HamletoutputPkg - package name of the output class.IOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.