Polish code indent in Javadocs
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
23878c6cca
commit
15f3637ac8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -47,20 +47,20 @@ import org.springframework.context.annotation.Import;
|
||||
* @Import(DataSourceConfiguration.class)
|
||||
* public class AppConfig {
|
||||
*
|
||||
* @Bean
|
||||
* public Job job(JobRepository jobRepository) {
|
||||
* return new JobBuilder("myJob").repository(jobRepository).start(step1()).next(step2()).build();
|
||||
* }
|
||||
* @Bean
|
||||
* public Job job(JobRepository jobRepository) {
|
||||
* return new JobBuilder("myJob").repository(jobRepository).start(step1()).next(step2()).build();
|
||||
* }
|
||||
*
|
||||
* @Bean
|
||||
* protected Step step1() {
|
||||
* ...
|
||||
* }
|
||||
* @Bean
|
||||
* protected Step step1() {
|
||||
* ...
|
||||
* }
|
||||
*
|
||||
* @Bean
|
||||
* protected Step step2() {
|
||||
* ...
|
||||
* }
|
||||
* @Bean
|
||||
* protected Step step2() {
|
||||
* ...
|
||||
* }
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
@@ -106,17 +106,17 @@ import org.springframework.context.annotation.Import;
|
||||
* @EnableBatchProcessing(modular=true)
|
||||
* public class AppConfig {
|
||||
*
|
||||
* @Bean
|
||||
* public ApplicationContextFactory someJobs() {
|
||||
* return new GenericApplicationContextFactory(SomeJobConfiguration.class);
|
||||
* }
|
||||
* @Bean
|
||||
* public ApplicationContextFactory someJobs() {
|
||||
* return new GenericApplicationContextFactory(SomeJobConfiguration.class);
|
||||
* }
|
||||
*
|
||||
* @Bean
|
||||
* public ApplicationContextFactory moreJobs() {
|
||||
* return new GenericApplicationContextFactory(MoreJobConfiguration.class);
|
||||
* }
|
||||
* @Bean
|
||||
* public ApplicationContextFactory moreJobs() {
|
||||
* return new GenericApplicationContextFactory(MoreJobConfiguration.class);
|
||||
* }
|
||||
*
|
||||
* ...
|
||||
* ...
|
||||
*
|
||||
* }
|
||||
* </pre>
|
||||
@@ -134,14 +134,13 @@ import org.springframework.context.annotation.Import;
|
||||
* <batch>
|
||||
* <job-repository />
|
||||
* <job id="myJob">
|
||||
* <step id="step1" .../>
|
||||
* <step id="step2" .../>
|
||||
* <step id="step1" .../>
|
||||
* <step id="step2" .../>
|
||||
* </job>
|
||||
* <beans:bean id="dataSource" .../>
|
||||
* <beans:bean id="transactionManager" .../>
|
||||
* <beans:bean id="jobLauncher" class=
|
||||
"org.springframework.batch.core.launch.support.TaskExecutorJobLauncher">
|
||||
* <beans:property name="jobRepository" ref="jobRepository" />
|
||||
* <beans:bean id="jobLauncher" class="org.springframework.batch.core.launch.support.TaskExecutorJobLauncher">
|
||||
* <beans:property name="jobRepository" ref="jobRepository" />
|
||||
* </beans:bean>
|
||||
* </batch>
|
||||
* }
|
||||
@@ -149,6 +148,7 @@ import org.springframework.context.annotation.Import;
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Mahmoud Ben Hassine
|
||||
* @author Taeik Lim
|
||||
*
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2022 the original author or authors.
|
||||
* Copyright 2013-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -36,7 +36,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* @JobScope
|
||||
* protected Callable<String> value(@Value("#{jobExecution.jobInstance.jobName}")
|
||||
* final String value) {
|
||||
* return new SimpleCallable(value);
|
||||
* return new SimpleCallable(value);
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
@@ -46,6 +46,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* </p>
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @author Taeik Lim
|
||||
*
|
||||
* @since 3.0.1
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2022 the original author or authors.
|
||||
* Copyright 2013-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -36,7 +36,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* @StepScope
|
||||
* protected Callable<String> value(@Value("#{stepExecution.stepName}")
|
||||
* final String value) {
|
||||
* return new SimpleCallable(value);
|
||||
* return new SimpleCallable(value);
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
@@ -46,6 +46,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* </p>
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Taeik Lim
|
||||
*
|
||||
* @since 2.2
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -88,12 +88,12 @@ import org.springframework.transaction.annotation.Isolation;
|
||||
* @Configuration
|
||||
* public class MyJobConfiguration extends DefaultBatchConfiguration {
|
||||
*
|
||||
* @Bean
|
||||
* public Job job(JobRepository jobRepository) {
|
||||
* return new JobBuilder("myJob", jobRepository)
|
||||
* // define job flow as needed
|
||||
* .build();
|
||||
* }
|
||||
* @Bean
|
||||
* public Job job(JobRepository jobRepository) {
|
||||
* return new JobBuilder("myJob", jobRepository)
|
||||
* // define job flow as needed
|
||||
* .build();
|
||||
* }
|
||||
*
|
||||
* }
|
||||
* </pre>
|
||||
@@ -101,6 +101,7 @@ import org.springframework.transaction.annotation.Isolation;
|
||||
* @author Dave Syer
|
||||
* @author Michael Minella
|
||||
* @author Mahmoud Ben Hassine
|
||||
* @author Taeik Lim
|
||||
* @since 2.2
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
|
||||
Reference in New Issue
Block a user