类 JobStepBuilder

    • 构造器详细资料

      • JobStepBuilder

        public JobStepBuilder​(StepBuilderHelper<?> parent)
        Create a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used.
        参数:
        parent - a parent helper containing common step properties
    • 方法详细资料

      • job

        public JobStepBuilder job​(Job job)
        Provide a job to execute during the step.
        参数:
        job - the job to execute
        返回:
        this for fluent chaining
      • launcher

        public JobStepBuilder launcher​(JobLauncher jobLauncher)
        Add a job launcher. Defaults to a simple job launcher.
        参数:
        jobLauncher - the job launcher to use
        返回:
        this for fluent chaining
      • parametersExtractor

        public JobStepBuilder parametersExtractor​(JobParametersExtractor jobParametersExtractor)
        Provide a job parameters extractor. Useful for extracting job parameters from the parent step execution context or job parameters.
        参数:
        jobParametersExtractor - the job parameters extractor to use
        返回:
        this for fluent chaining
      • build

        public Step build()
        Build a step from the job provided.
        返回:
        a new job step