Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2012 International Business Machines Corp.
  * See the NOTICE file distributed with this work for additional information
  * regarding copyright ownership. Licensed under the Apache License, 
  * Version 2.0 (the "License"); you may not use this file except in compliance
  * with the License. You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
public interface IJobStatusManagerService extends IBatchServiceBase {

This method creates an entry for a new job instance
	public JobStatus createJobStatus(long jobInstanceIdthrows BatchContainerServiceException;
	public void updateJobStatus(JobStatus jobStatus);

Returns the JobStatus for a given jobInstance id

    public abstract JobStatus getJobStatus(long jobInstanceIdthrows BatchContainerServiceException;
    public abstract JobStatus getJobStatusFromExecutionId(long executionIdthrows BatchContainerServiceException;
    public void updateJobBatchStatus(long jobInstanceIdBatchStatus batchStatusthrows BatchContainerServiceException;
    public void updateJobExecutionStatus(long jobInstanceIdBatchStatus batchStatusString exitStatusthrows BatchContainerServiceException;
    public void updateJobStatusFromJSLStop(long jobInstanceIdString restartOnthrows BatchContainerServiceException;
    public void updateJobStatusWithNewExecution(long jobInstanceIdlong newExecutionIdthrows BatchContainerServiceException;
    public abstract void updateJobCurrentStep(long jobInstanceIdString currentStepName)  throws BatchContainerServiceException;

Creates an entry for the step in the stepstatus table during jobsetup

    public abstract StepStatus createStepStatus(long stepExecutionIdthrows BatchContainerServiceException;
    public abstract void updateStepStatus(long stepExecutionIdStepStatus newStepStatusthrows BatchContainerServiceException;
    public abstract StepStatus getStepStatus(long jobInstanceIdString stepIdthrows BatchContainerServiceException ;
New to GrepCode? Check out our FAQ X