test_class.file: modules/flowable-rest/src/test/java/org/flowable/rest/service/api/management/JobResourceTest.java
test_class.identifier: JobResourceTest
test_class.superclass: extends BaseSpringRestTestCase
test_case.body: @Test
      @Deployment(resources = { "org/flowable/rest/service/api/management/JobResourceTest.testTimerProcess.bpmn20.xml" })
      public void testGetJob() throws Exception {
          ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("timerProcess");
          Job timerJob = managementService.createTimerJobQuery().processInstanceId(processInstance.getId()).singleResult();
          assertThat(timerJob).isNotNull();
  
          Calendar now = Calendar.getInstance();
          now.set(Calendar.MILLISECOND, 0);
          processEngineConfiguration.getClock().setCurrentTime(now.getTime());
  
          CloseableHttpResponse response = executeRequest(
                  new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_TIMER_JOB, timerJob.getId())), HttpStatus.SC_OK);
          JsonNode responseNode = objectMapper.readTree(response.getEntity().getContent());
          closeResponse(response);
          assertThat(responseNode).isNotNull();
          assertThatJson(responseNode)
                  .when(Option.IGNORING_EXTRA_FIELDS)
                  .isEqualTo("{"
                          + "id: '" + timerJob.getId() + "',"
                          + "correlationId: '" + timerJob.getCorrelationId() + "',"
                          + "exceptionMessage: " + timerJob.getExceptionMessage() + ","
                          + "executionId: '" + timerJob.getExecutionId() + "',"
                          + "processDefinitionId: '" + timerJob.getProcessDefinitionId() + "',"
                          + "processInstanceId: '" + timerJob.getProcessInstanceId() + "',"
                          + "elementId: 'escalationTimer',"
                          + "elementName: 'Escalation',"
                          + "retries: " + timerJob.getRetries() + ","
                          + "dueDate: " + new TextNode(getISODateStringWithTZ(timerJob.getDuedate())) + ","
                          + "tenantId: ''"
                          + "}");
  
          // Set tenant on deployment
          managementService.executeCommand(new ChangeDeploymentTenantIdCmd(deploymentId, "myTenant"));
  
          response = executeRequest(new HttpGet(SERVER_URL_PREFIX + RestUrls.createRelativeResourceUrl(RestUrls.URL_TIMER_JOB, timerJob.getId())),
                  HttpStatus.SC_OK);
          responseNode = objectMapper.readTree(response.getEntity().getContent());
          closeResponse(response);
          assertThat(responseNode).isNotNull();
          assertThatJson(responseNode)
                  .when(Option.IGNORING_EXTRA_FIELDS)
                  .isEqualTo("{"
                          + "tenantId: 'myTenant'"
                          + "}");
      }
test_case.class_method_signature: JobResourceTest.testGetJob()
test_case.full_signature: @Test @Deployment(resources = { "org/flowable/rest/service/api/management/JobResourceTest.testTimerProcess.bpmn20.xml" }) public void testGetJob()
test_case.identifier: testGetJob
test_case.invocations: startProcessInstanceByKey singleResult processInstanceId createTimerJobQuery getId isNotNull assertThat getInstance set setCurrentTime getClock getTime executeRequest createRelativeResourceUrl getId readTree getContent getEntity closeResponse isNotNull assertThat isEqualTo when assertThatJson getId getCorrelationId getExceptionMessage getExecutionId getProcessDefinitionId getProcessInstanceId getRetries getISODateStringWithTZ getDuedate executeCommand executeRequest createRelativeResourceUrl getId readTree getContent getEntity closeResponse isNotNull assertThat isEqualTo when assertThatJson
test_case.modifiers: @Test @Deployment(resources = { "org/flowable/rest/service/api/management/JobResourceTest.testTimerProcess.bpmn20.xml" }) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetJob()
focal_class.declarator: EXECUTE_ACTION = "execute"
focal_class.modifier: private static final
focal_class.original_string: private static final String EXECUTE_ACTION = "execute";
focal_class.type: String
focal_class.var_name: EXECUTE_ACTION
focal_class.declarator: MOVE_ACTION = "move"
focal_class.modifier: private static final
focal_class.original_string: private static final String MOVE_ACTION = "move";
focal_class.type: String
focal_class.var_name: MOVE_ACTION
focal_class.declarator: MOVE_TO_HISTORY_JOB_ACTION = "moveToHistoryJob"
focal_class.modifier: private static final
focal_class.original_string: private static final String MOVE_TO_HISTORY_JOB_ACTION = "moveToHistoryJob";
focal_class.type: String
focal_class.var_name: MOVE_TO_HISTORY_JOB_ACTION
focal_class.declarator: restResponseFactory
focal_class.modifier: @Autowired
      protected
focal_class.original_string: @Autowired
      protected RestResponseFactory restResponseFactory;
focal_class.type: RestResponseFactory
focal_class.var_name: restResponseFactory
focal_class.declarator: processEngineConfiguration
focal_class.modifier: @Autowired
      protected
focal_class.original_string: @Autowired
      protected ProcessEngineConfigurationImpl processEngineConfiguration;
focal_class.type: ProcessEngineConfigurationImpl
focal_class.var_name: processEngineConfiguration
focal_class.file: modules/flowable-rest/src/main/java/org/flowable/rest/service/api/management/JobResource.java
focal_class.identifier: JobResource
focal_class.class_method_signature: JobResource.getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.full_signature: @ApiOperation(value = "Get a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/jobs/{jobId}", produces = "application/json") public JobResponse getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.identifier: getJob
focal_class.modifiers: @ApiOperation(value = "Get a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/jobs/{jobId}", produces = "application/json") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.return: JobResponse
focal_class.signature: JobResponse getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.class_method_signature: JobResource.getTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.full_signature: @ApiOperation(value = "Get a single timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the timer job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/timer-jobs/{jobId}", produces = "application/json") public JobResponse getTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.identifier: getTimerJob
focal_class.modifiers: @ApiOperation(value = "Get a single timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the timer job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/timer-jobs/{jobId}", produces = "application/json") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.return: JobResponse
focal_class.signature: JobResponse getTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.class_method_signature: JobResource.getSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.full_signature: @ApiOperation(value = "Get a single suspended job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the suspended job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/suspended-jobs/{jobId}", produces = "application/json") public JobResponse getSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.identifier: getSuspendedJob
focal_class.modifiers: @ApiOperation(value = "Get a single suspended job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the suspended job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/suspended-jobs/{jobId}", produces = "application/json") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.return: JobResponse
focal_class.signature: JobResponse getSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.class_method_signature: JobResource.getDeadletterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.full_signature: @ApiOperation(value = "Get a single deadletter job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the suspended job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/deadletter-jobs/{jobId}", produces = "application/json") public JobResponse getDeadletterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.identifier: getDeadletterJob
focal_class.modifiers: @ApiOperation(value = "Get a single deadletter job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the suspended job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/deadletter-jobs/{jobId}", produces = "application/json") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.return: JobResponse
focal_class.signature: JobResponse getDeadletterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_class.class_method_signature: JobResource.getHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId)
focal_class.full_signature: @ApiOperation(value = "Get a single history job job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the history job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/history-jobs/{jobId}", produces = "application/json") public HistoryJobResponse getHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId)
focal_class.identifier: getHistoryJob
focal_class.modifiers: @ApiOperation(value = "Get a single history job job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the history job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/history-jobs/{jobId}", produces = "application/json") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId)
focal_class.return: HistoryJobResponse
focal_class.signature: HistoryJobResponse getHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId)
focal_class.class_method_signature: JobResource.deleteJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Delete a job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found..") }) @DeleteMapping("/management/jobs/{jobId}") public void deleteJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.identifier: deleteJob
focal_class.modifiers: @ApiOperation(value = "Delete a job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found..") }) @DeleteMapping("/management/jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void deleteJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.class_method_signature: JobResource.deleteTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Delete a timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/timer-jobs/{jobId}") public void deleteTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.identifier: deleteTimerJob
focal_class.modifiers: @ApiOperation(value = "Delete a timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/timer-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void deleteTimerJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.class_method_signature: JobResource.deleteSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Delete a suspended job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/suspended-jobs/{jobId}") public void deleteSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.identifier: deleteSuspendedJob
focal_class.modifiers: @ApiOperation(value = "Delete a suspended job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/suspended-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void deleteSuspendedJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.class_method_signature: JobResource.deleteDeadLetterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Delete a deadletter job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/deadletter-jobs/{jobId}") public void deleteDeadLetterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.identifier: deleteDeadLetterJob
focal_class.modifiers: @ApiOperation(value = "Delete a deadletter job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/deadletter-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void deleteDeadLetterJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.class_method_signature: JobResource.deleteHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Delete a history job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the history job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/history-jobs/{jobId}") public void deleteHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.identifier: deleteHistoryJob
focal_class.modifiers: @ApiOperation(value = "Delete a history job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the history job was found and has been deleted. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found.") }) @DeleteMapping("/management/history-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void deleteHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletResponse response)
focal_class.class_method_signature: JobResource.executeJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Execute a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was executed. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/jobs/{jobId}") public void executeJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.identifier: executeJobAction
focal_class.modifiers: @ApiOperation(value = "Execute a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was executed. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void executeJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.class_method_signature: JobResource.executeHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Execute a history job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was executed. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/history-jobs/{jobId}") public void executeHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.identifier: executeHistoryJob
focal_class.modifiers: @ApiOperation(value = "Execute a history job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the job was executed. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/history-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void executeHistoryJob(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.class_method_signature: JobResource.executeTimerJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Move a single timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the timer job was moved. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/timer-jobs/{jobId}") public void executeTimerJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.identifier: executeTimerJobAction
focal_class.modifiers: @ApiOperation(value = "Move a single timer job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the timer job was moved. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/timer-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void executeTimerJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.class_method_signature: JobResource.executeDeadLetterJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.full_signature: @ApiOperation(value = "Move a single deadletter job. Accepts 'move' and 'moveToHistoryJob' as action.", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the dead letter job was moved. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/deadletter-jobs/{jobId}") public void executeDeadLetterJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.identifier: executeDeadLetterJobAction
focal_class.modifiers: @ApiOperation(value = "Move a single deadletter job. Accepts 'move' and 'moveToHistoryJob' as action.", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 204, message = "Indicates the dead letter job was moved. Response-body is intentionally empty."), @ApiResponse(code = 404, message = "Indicates the requested job was not found."), @ApiResponse(code = 500, message = "Indicates the an exception occurred while executing the job. The status-description contains additional detail about the error. The full error-stacktrace can be fetched later on if needed.") }) @PostMapping("/management/deadletter-jobs/{jobId}") public
focal_class.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.return: void
focal_class.signature: void executeDeadLetterJobAction(@ApiParam(name = "jobId") @PathVariable String jobId, @RequestBody RestActionRequest actionRequest, HttpServletResponse response)
focal_class.superclass: extends JobBaseResource
focal_method.body: @ApiOperation(value = "Get a single job", tags = { "Jobs" })
      @ApiResponses(value = {
              @ApiResponse(code = 200, message = "Indicates the job exists and is returned."),
              @ApiResponse(code = 404, message = "Indicates the requested job does not exist.")
      })
      @GetMapping(value = "/management/jobs/{jobId}", produces = "application/json")
      public JobResponse getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request) {
          Job job = getJobById(jobId);
          return restResponseFactory.createJobResponse(job);
      }
focal_method.class_method_signature: JobResource.getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_method.full_signature: @ApiOperation(value = "Get a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/jobs/{jobId}", produces = "application/json") public JobResponse getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_method.identifier: getJob
focal_method.invocations: getJobById createJobResponse
focal_method.modifiers: @ApiOperation(value = "Get a single job", tags = { "Jobs" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "Indicates the job exists and is returned."), @ApiResponse(code = 404, message = "Indicates the requested job does not exist.") }) @GetMapping(value = "/management/jobs/{jobId}", produces = "application/json") public
focal_method.parameters: (@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)
focal_method.return: JobResponse
focal_method.signature: JobResponse getJob(@ApiParam(name = "jobId") @PathVariable String jobId, HttpServletRequest request)