public class Template extends Object
Constructor and Description |
---|
Template(String name,
List<String> parameters) |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(ParseEventIF event) |
ValueGeneratorIF |
getGenerator(String name) |
String |
getName() |
int |
getParameterCount() |
Set<String> |
getUsedParameters() |
Map<String,NamedWildcardTopicGenerator> |
getWildcardMap() |
void |
invoke(List arguments,
ParseEventHandlerIF handler)
Invokes the template.
|
void |
setParameters(List<String> parameters)
This method is only used by the tolog INSERT statement.
|
public String getName()
public int getParameterCount()
public void addEvent(ParseEventIF event)
public ValueGeneratorIF getGenerator(String name)
public Map<String,NamedWildcardTopicGenerator> getWildcardMap()
public void invoke(List arguments, ParseEventHandlerIF handler)
arguments
- a list of generator objects producing the values
for the arguments, in the same order as the
parameters list