public class GeneratorMapping extends Object
ClassGenerator.BlockType
enum. There is,
however, no way to check which methods are in use; the user of
this method must already know this information from another
source.
Conceptual Method | BlockType | Typical Drill Name |
---|---|---|
setup | SETUP | doSetup |
eval | EVAL | doEval |
reset | RESET | ? |
cleanup | CLEANUP | ? |
Constructor and Description |
---|
GeneratorMapping(GeneratorMapping gm) |
GeneratorMapping(String setup,
String eval,
String reset,
String cleanup) |
Modifier and Type | Method and Description |
---|---|
static GeneratorMapping |
create(String setup,
String eval,
String reset,
String cleanup) |
String |
getMethodName(ClassGenerator.BlockType type) |
static GeneratorMapping |
GM(String setup,
String eval) |
static GeneratorMapping |
GM(String setup,
String eval,
String reset,
String cleanup) |
public GeneratorMapping(GeneratorMapping gm)
public static GeneratorMapping GM(String setup, String eval)
public static GeneratorMapping GM(String setup, String eval, String reset, String cleanup)
public static GeneratorMapping create(String setup, String eval, String reset, String cleanup)
public String getMethodName(ClassGenerator.BlockType type)
Copyright © 1970 The Apache Software Foundation. All rights reserved.