Interface BatchConfiguration


public interface BatchConfiguration
A configuration for the BatchEnvironment behavior.
Author:
James R. Perkins
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jberet.spi.JobExecutor
    Returns the default job executor to use.
    org.jberet.repository.JobRepository
    Returns the default job repository to use.
    org.wildfly.security.auth.server.SecurityDomain
    Returns the security domain if defined.
    boolean
    Indicates whether or no batch jobs should be restarted on a resume operation if they were stopped during a suspend.
  • Method Details

    • isRestartOnResume

      boolean isRestartOnResume()
      Indicates whether or no batch jobs should be restarted on a resume operation if they were stopped during a suspend.
      Returns:
      true to restart jobs on resume otherwise false to leave the jobs in a stopped state
    • getDefaultJobRepository

      org.jberet.repository.JobRepository getDefaultJobRepository()
      Returns the default job repository to use.
      Returns:
      the default job repository
    • getDefaultJobExecutor

      org.jberet.spi.JobExecutor getDefaultJobExecutor()
      Returns the default job executor to use.
      Returns:
      the default job executor
    • getSecurityDomain

      org.wildfly.security.auth.server.SecurityDomain getSecurityDomain()
      Returns the security domain if defined.
      Returns:
      the security domain or null if not defined