
no.mnemonic.services.triggers.action.NoopTriggerAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of triggers-action Show documentation
Show all versions of triggers-action Show documentation
Definition of TriggerActions and simple implementations
The newest version!
package no.mnemonic.services.triggers.action;
import no.mnemonic.commons.logging.Logger;
import no.mnemonic.commons.logging.Logging;
import java.util.Map;
/**
* Noop implementation of a TriggerAction useful for testing. It requires no parameters.
*/
public class NoopTriggerAction implements TriggerAction {
private static final Logger LOGGER = Logging.getLogger(NoopTriggerAction.class);
@Override
public void init(Map initParameters) {
LOGGER.info("Called init() of NoopTriggerAction with parameters %s.", initParameters);
}
@Override
public void trigger(Map triggerParameters) {
LOGGER.info("Called trigger() of NoopTriggerAction with parameters %s.", triggerParameters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy