Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IConditionalExecution.shouldExecute()


  private void performActions( final IActionSequence sequence, final IActionCompleteListener doneListener,
      final IExecutionListener execListener, final boolean async ) throws ActionSequenceException {
    IConditionalExecution conditional = sequence.getConditionalExecution();
    if ( conditional != null ) {
      try {
        if ( !conditional.shouldExecute( paramManager.getAllParameters(), RuntimeContext.logger ) ) {
          //audit(MessageTypes.ACTION_SEQUENCE_EXECUTE_CONDITIONAL, MessageTypes.NOT_EXECUTED, "", 0); //$NON-NLS-1$ //$NON-NLS-2$
          if ( RuntimeContext.debug ) {
            this.debug( Messages.getInstance().getString( "RuntimeContext.INFO_ACTION_NOT_EXECUTED" ) ); //$NON-NLS-1$
          }
          status = IRuntimeContext.RUNTIME_STATUS_SUCCESS;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.