//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Override @Before public void setup() public override void setup() { base.setup(); ProcessEngineConfigurationImpl engineConfiguration = ((ProcessEngineImpl)engine).ProcessEngineConfiguration; jobExecutor = engineConfiguration.JobExecutor; jobExecutor.start(); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldNotActiateJobExecutor() public virtual void shouldNotActiateJobExecutor() { ProcessEngine processEngine = processEngineService.getProcessEngine("jobExecutorActivate-FALSE-engine"); ProcessEngineConfiguration configuration = processEngine.ProcessEngineConfiguration; JobExecutor jobExecutor = ((ProcessEngineConfigurationImpl)configuration).JobExecutor; assertFalse(jobExecutor.Active); processEngine = processEngineService.getProcessEngine("jobExecutorActivate-UNDEFINED-engine"); configuration = processEngine.ProcessEngineConfiguration; jobExecutor = ((ProcessEngineConfigurationImpl)configuration).JobExecutor; assertTrue(jobExecutor.Active); }
protected internal virtual AcquiredJobs acquireJobs() { JobExecutor jobExecutor = processEngineConfiguration.JobExecutor; return(processEngineConfiguration.CommandExecutorTxRequired.execute(new AcquireJobsCmd(jobExecutor))); }