Class TaskProperties
java.lang.Object
org.springframework.cloud.task.configuration.TaskProperties
Properties available to configure the task.
- Author:
- Glenn Renfro, David Turanski
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default table prefix for Spring Cloud Task tables. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
void
setClosecontextEnabled
(Boolean closecontextEnabled) void
setExecutionid
(Long executionid) void
setExternalExecutionId
(String externalExecutionId) void
setInitializeEnabled
(Boolean initializeEnabled) void
setParentExecutionId
(Long parentExecutionId) void
setSingleInstanceEnabled
(boolean singleInstanceEnabled) void
setSingleInstanceLockCheckInterval
(int singleInstanceLockCheckInterval) void
setSingleInstanceLockTtl
(int singleInstanceLockTtl) void
setTablePrefix
(String tablePrefix)
-
Field Details
-
DEFAULT_TABLE_PREFIX
Default table prefix for Spring Cloud Task tables.- See Also:
-
-
Constructor Details
-
TaskProperties
public TaskProperties()
-
-
Method Details
-
getExternalExecutionId
-
setExternalExecutionId
-
getExecutionid
-
setExecutionid
-
getClosecontextEnabled
-
setClosecontextEnabled
-
getTablePrefix
-
setTablePrefix
-
getParentExecutionId
-
setParentExecutionId
-
getSingleInstanceEnabled
public boolean getSingleInstanceEnabled() -
setSingleInstanceEnabled
public void setSingleInstanceEnabled(boolean singleInstanceEnabled) -
getSingleInstanceLockTtl
public int getSingleInstanceLockTtl() -
setSingleInstanceLockTtl
public void setSingleInstanceLockTtl(int singleInstanceLockTtl) -
getSingleInstanceLockCheckInterval
public int getSingleInstanceLockCheckInterval() -
setSingleInstanceLockCheckInterval
public void setSingleInstanceLockCheckInterval(int singleInstanceLockCheckInterval) -
isInitializeEnabled
-
setInitializeEnabled
-