@Deprecated @InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public class HamletGen extends Object
| Constructor and Description |
|---|
HamletGen()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Class<?> specClass,
Class<?> implClass,
String outputName,
String outputPkg)
Deprecated.
Generate a specific Hamlet implementation from a spec.
|
static void |
main(String[] args)
Deprecated.
|
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.