@Component(role=Macro.class, hint="ssi") public class SsiMacro extends AbstractMacro
function
to define SSI function, then
additional parameters are completely free.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
PARAM_FUNCTION |
Constructor and Description |
---|
SsiMacro() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Sink sink,
MacroRequest request)
Execute the current macro using the given MacroRequest,
and emit events into the given sink.
|
private boolean |
isInternalParameter(java.lang.String name) |
enableLogging, getAttributesFromMap, getLog, required
private static final java.lang.String PARAM_FUNCTION
private boolean isInternalParameter(java.lang.String name)
public void execute(Sink sink, MacroRequest request) throws MacroExecutionException
sink
- The sink to receive the events.request
- The corresponding MacroRequest.MacroExecutionException
- if an error occurred during execution.