Package nexj.core.meta.workflow

Examples of nexj.core.meta.workflow.Timeout


               {
                  throw new MetadataException("err.meta.workflow.multipleQueueTimers",
                     new Object[]{assignment.getName()});
               }

               Timeout timeout = new Timeout();

               timeout.setActivity(activity);
               timeout.setValue(m_helper.parse(XMLUtil.getReqStringAttr(eventElement, "value"),
                  false, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
               activity.addStep(timeout);

               Wait wait = new Wait(timeout);

               timeout.setNext(wait);
               activity.addStep(wait);

               m_bTimer = true;
            }
            else if (sElement.equals("ClassEvent"))
View Full Code Here


               ((Scripted)step).setBody((Pair)m_helper.parse(m_helper.getElementValue(element),
                  true, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
            }
            else if (sElement.equals("Timeout"))
            {
               Timeout timeout = new Timeout(sStepName);

               timeout.setActivity(activity);
               timeout.setValue(m_helper.parse(XMLUtil.getReqStringAttr(element, "value"),
                  false, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
               activity.addStep(timeout);
               step = new Wait(timeout);
               timeout.setNext(step);
            }
            else if (sElement.equals("Decision"))
            {
               final Decision decision = new Decision(sStepName);
View Full Code Here

TOP

Related Classes of nexj.core.meta.workflow.Timeout

Copyright © 2018 www.massapicom. 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.