test_class.declarator: servlet = new CtrlrServlet()
test_class.modifier: private final
test_class.original_string: private final CtrlrServlet servlet = new CtrlrServlet();
test_class.type: CtrlrServlet
test_class.var_name: servlet
test_class.file: controller/src/test/java/com/oneops/controller/web/CtrlrServletTest.java
test_class.identifier: CtrlrServletTest
test_case.body: @Test
  	/**test the test!*/
  	public void test(){
  		String message=	this.servlet.test();
  		assertEquals(message,"Resumed all processes");
  	}
test_case.class_method_signature: CtrlrServletTest.test()
test_case.full_signature: @Test /**test the test!*/ public void test()
test_case.identifier: test
test_case.invocations: test assertEquals
test_case.modifiers: @Test /**test the test!*/ public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: logger = LogFactory.getLog(getClass())
focal_class.modifier: protected final
focal_class.original_string: protected final Log logger = LogFactory.getLog(getClass());
focal_class.type: Log
focal_class.var_name: logger
focal_class.declarator: woDispatcher
focal_class.modifier: private
focal_class.original_string: private WoDispatcher woDispatcher;
focal_class.type: WoDispatcher
focal_class.var_name: woDispatcher
focal_class.declarator: runtimeService
focal_class.modifier: private
focal_class.original_string: private RuntimeService runtimeService;
focal_class.type: RuntimeService
focal_class.var_name: runtimeService
focal_class.file: controller/src/main/java/com/oneops/controller/web/CtrlrServlet.java
focal_class.identifier: CtrlrServlet
focal_class.class_method_signature: CtrlrServlet.setRuntimeService(RuntimeService runtimeService)
focal_class.full_signature: public void setRuntimeService(RuntimeService runtimeService)
focal_class.identifier: setRuntimeService
focal_class.modifiers: public
focal_class.parameters: (RuntimeService runtimeService)
focal_class.return: void
focal_class.signature: void setRuntimeService(RuntimeService runtimeService)
focal_class.class_method_signature: CtrlrServlet.setWoDispatcher(WoDispatcher woDispatcher)
focal_class.full_signature: public void setWoDispatcher(WoDispatcher woDispatcher)
focal_class.identifier: setWoDispatcher
focal_class.modifiers: public
focal_class.parameters: (WoDispatcher woDispatcher)
focal_class.return: void
focal_class.signature: void setWoDispatcher(WoDispatcher woDispatcher)
focal_class.class_method_signature: CtrlrServlet.init()
focal_class.full_signature: public void init()
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: CtrlrServlet.createCIRelation(
  			@RequestBody WoProcessResponse woResult)
focal_class.full_signature: @RequestMapping(method=RequestMethod.POST, value="/wo/result") @ResponseBody public Map<String, String> createCIRelation(
  			@RequestBody WoProcessResponse woResult)
focal_class.identifier: createCIRelation
focal_class.modifiers: @RequestMapping(method=RequestMethod.POST, value="/wo/result") @ResponseBody public
focal_class.parameters: (
  			@RequestBody WoProcessResponse woResult)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> createCIRelation(
  			@RequestBody WoProcessResponse woResult)
focal_class.class_method_signature: CtrlrServlet.test()
focal_class.full_signature: @RequestMapping(method=RequestMethod.GET, value="/resumeall") @ResponseBody public String test()
focal_class.identifier: test
focal_class.modifiers: @RequestMapping(method=RequestMethod.GET, value="/resumeall") @ResponseBody public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String test()
focal_method.body: @RequestMapping(method=RequestMethod.GET, value="/resumeall")
  	@ResponseBody
  	public String test()
      {
  		logger.info("Resuming crashed processes!!!");
  		List<ProcessInstance> processes = runtimeService.createProcessInstanceQuery().active().list();
  		
  		for (ProcessInstance process : processes) {
  			ExecutionEntity exec = (ExecutionEntity)process;
  			if (exec.isActive() && exec.getActivityId().equals("ackStart")) {
  				exec.getId();
  				runtimeService.signal(exec.getId());
  			}
  		}
  		return "Resumed all processes";
  	}
focal_method.class_method_signature: CtrlrServlet.test()
focal_method.full_signature: @RequestMapping(method=RequestMethod.GET, value="/resumeall") @ResponseBody public String test()
focal_method.identifier: test
focal_method.invocations: info list active createProcessInstanceQuery isActive equals getActivityId getId signal getId
focal_method.modifiers: @RequestMapping(method=RequestMethod.GET, value="/resumeall") @ResponseBody public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String test()