Package org.jbpm.logging.log

Examples of org.jbpm.logging.log.CompositeLog.addChild()


  public void addLog(ProcessLog processLog) {
    if (!compositeLogStack.isEmpty()) {
      CompositeLog currentCompositeLog = compositeLogStack.get(compositeLogStack.size() - 1);
      processLog.setParent(currentCompositeLog);
      currentCompositeLog.addChild(processLog);
    }
    processLog.setDate(Clock.getCurrentTime());

    logs.add(processLog);
  }
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.