Package org.openengsb.core.workflow.api.model

Examples of org.openengsb.core.workflow.api.model.RuleBaseElementId


            String.format(sourceDescription, ExampleResponseModel.class.getName(), exampleDomainVersion.toString());
        targetDescription =
            String.format(targetDescription, ExampleRequestModel.class.getName(), exampleDomainVersion.toString());

        ruleManager.add(
            new RuleBaseElementId(RuleBaseElementType.Rule, "example"),
            ""
                    + "when\n"
                    + "  event : LogEvent()\n"
                    + "then\n"
                    + sourceDescription
View Full Code Here


            if (count++ > 100) {
                throw new IllegalStateException("auditing-config did not finish in time");
            }
        }
        count = 0;
        while (rm.get(new RuleBaseElementId(RuleBaseElementType.Process, "humantask")) == null) {
            LOGGER.warn("waiting for taskboxConfig to finish init");
            waitasec();
            if (count++ > 100) {
                throw new IllegalStateException("taskbox-config did not finish in time");
            }
View Full Code Here

            private static final long serialVersionUID = 2613897821526291323L;

            @Override
            protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
                RuleBaseElementId flow = selectedFlowModel.getObject();
                long startFlow = workflowService.startFlow(flow.getName());
                info("workflow started with id " + startFlow);
                target.add(feedbackPanel);
            }

            @Override
View Full Code Here

        return listByExample(example);
    }

    @Override
    public Collection<RuleBaseElementId> list(RuleBaseElementType type, String packageName) {
        RuleBaseElementId example = new RuleBaseElementId();
        example.setType(type);
        example.setPackageName(packageName);
        return listByExample(example);
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.workflow.api.model.RuleBaseElementId

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.