All Implemented Interfaces:
BusinessObject, BusinessProcessor, Runnable
Direct Known Subclasses:
AvaTaxTriggerImpl, CapturePaymentTriggerImpl, EmailNotificationTrigger, InventoryNotificationTriggerImpl, QboOrderTriggerImpl

public abstract class BaseTrigger extends BaseBusinessProcessor implements Runnable
  • Field Details

    • log

      static org.apache.commons.logging.Log log
    • isActive

      private boolean isActive
    • swallowExceptions

      private boolean swallowExceptions
    • executeInSeparateThread

      private boolean executeInSeparateThread
  • Constructor Details

    • BaseTrigger

      public BaseTrigger()
  • Method Details

    • processTrigger

      public abstract void processTrigger() throws Exception
      Throws:
      Exception
    • getIsActive

      public boolean getIsActive()
    • setIsActive

      public void setIsActive(boolean isActive)
    • getSwallowExceptions

      public boolean getSwallowExceptions()
    • setSwallowExceptions

      public void setSwallowExceptions(boolean swallowExceptions)
    • getExecuteInSeparateThread

      public boolean getExecuteInSeparateThread()
    • setExecuteInSeparateThread

      public void setExecuteInSeparateThread(boolean executeInSeparateThread)
    • process

      public void process() throws Exception
      Throws:
      Exception
    • processInSeparateThread

      public void processInSeparateThread()
    • processInSameThread

      public void processInSameThread() throws Exception
      Throws:
      Exception
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • addMessage

      public void addMessage(Map results, ApplicationMessage.Level level, String message)