## Uses of Class
javax.batch.runtime.BatchStatus

- Packages that use BatchStatus
  Package | Description
  --- | ---
  javax.batch.api.partition | Provides APIs for artifacts specific to a Batch partitioned step.
  javax.batch.runtime | Provides APIs for viewing the detailed outcomes and metrics of Batch job executions.
  javax.batch.runtime.context | Provides APIs for context classes allowing data sharing across Batch artifacts within a job instance and within a step.

- - ### Uses of BatchStatus in javax.batch.api.partition

    Methods in javax.batch.api.partition with parameters of type BatchStatus
    Modifier and Type | Method and Description
    --- | ---
    `void` | PartitionAnalyzer.`analyzeStatus(BatchStatus batchStatus, String exitStatus)` The analyzeStatus method receives control each time a partition ends.
    `void` | AbstractPartitionAnalyzer.`analyzeStatus(BatchStatus batchStatus, String exitStatus)` Override this method to analyze partition end status.

  - ### Uses of BatchStatus in javax.batch.runtime

    Methods in javax.batch.runtime that return BatchStatus
    Modifier and Type | Method and Description
    --- | ---
    `BatchStatus` | StepExecution.`getBatchStatus()` Get batch status of this step execution.
    `BatchStatus` | JobExecution.`getBatchStatus()` Get batch status of this execution.
    `static BatchStatus` | BatchStatus.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static BatchStatus[]` | BatchStatus.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

  - ### Uses of BatchStatus in javax.batch.runtime.context

    Methods in javax.batch.runtime.context that return BatchStatus
    Modifier and Type | Method and Description
    --- | ---
    `BatchStatus` | StepContext.`getBatchStatus()` The getBatchStatus method returns the current batch status of the current step.
    `BatchStatus` | JobContext.`getBatchStatus()` The getBatchStatus method simply returns the batch status value set by the batch runtime into the job context.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.