⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 schedulerservice.java

📁 一个java工作流引擎
💻 JAVA
字号:
package org.jbpm;

import org.jbpm.model.scheduler.*;

/**
 * is the interface for scheduling and cancelling jobs.  This service is used at process 
 * execution events. E.g. by through the {@link org.jbpm.delegation.ExecutionContext}
 */
public interface SchedulerService {
  
  /**
   * schedules a job.
   */
  void schedule( Job job );
  
  /**
   * schedules a job with a reference for cancellation.  Make sure the
   * reference is unique. (e.g. prefix it with the process-instance-id) 
   * When you cancel a job by reference, it cancels all jobs with the given reference.
   */
  void schedule( Job job, String reference );
  
  /**
   * cancels all scheduled jobs with the given reference.
   */
  void cancel( String reference );
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -