BATCH-1001: applied changes from the patch to set restartable to true as default
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006-2007 the original author or authors.
|
||||
* Copyright 2006-2009 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.
|
||||
@@ -56,7 +56,7 @@ public abstract class AbstractJob implements Job, BeanNameAware, InitializingBea
|
||||
|
||||
private String name;
|
||||
|
||||
private boolean restartable = false;
|
||||
private boolean restartable = true;
|
||||
|
||||
private JobRepository jobRepository;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="restartable" type="xsd:string"
|
||||
default="false" use="optional">
|
||||
default="true" use="optional">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Whether the job should be retartable or not in case of failure.
|
||||
|
||||
Reference in New Issue
Block a user