Package org.drools.workbench.common.services.rest

Examples of org.drools.workbench.common.services.rest.JobRequestApprovalService


    }
   
    @Override
    public ExecutionResults execute(CommandContext ctx) throws Exception {
        // approval
        JobRequestApprovalService approvalService = getApprovalService(ctx);
        JobRequest request = getJobRequest(ctx);
        JobResult result = approvalService.requestApproval(request);
      
        // save job
        logger.debug( "--- job {} ---, status: {}",  result.getJobId(), result.getStatus());
        JobResultManager jobMgr = getJobManager(ctx);
        result.setLastModified(System.currentTimeMillis());
View Full Code Here

TOP

Related Classes of org.drools.workbench.common.services.rest.JobRequestApprovalService

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.