package foodplanet.management.action;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

class GroovyAction implements Action {
    Log log = LogFactory.getLog(GroovyAction.class);

    public void act() {
        log.info """ 
        >>>>> <<<<<
        >>>>> Groovy Taking Action <<<<< 
        >>>>> Handling LOW_STOCK Notification <<<<< 
        >>>>> Message Received: $message <<<<<"
        >>>>> Groovy can be used as glue language <<<<< 
        >>>>> to integrate management/monitoring with JEE stack. <<<<< 
        >>>>> <<<<< 
        """
    }
    String message;
}