Class VitamJobDetail
- java.lang.Object
-
- fr.gouv.vitam.scheduler.server.model.VitamJobDetail
-
public class VitamJobDetail extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DESCRIPTION
static java.lang.String
DURABILITY
static java.lang.String
JOB_CLASS
static java.lang.String
JOB_DATA_MAP
static java.lang.String
KEY
static java.lang.String
SHOULD_RECOVER
-
Constructor Summary
Constructors Constructor Description VitamJobDetail(java.lang.String key, java.lang.String description, java.lang.String jobClass, java.util.Map<java.lang.String,java.lang.Object> jobDataMap, boolean durability, boolean shouldRecover)
VitamJobDetail(org.quartz.JobDetail jobDetail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getJobClass()
java.util.Map<java.lang.String,java.lang.Object>
getJobDataMap()
java.lang.String
getKey()
boolean
isDurability()
boolean
isShouldRecover()
void
setDescription(java.lang.String description)
void
setDurability(boolean durability)
void
setJobClass(java.lang.String jobClass)
void
setJobDataMap(java.util.Map<java.lang.String,java.lang.Object> jobDataMap)
void
setKey(java.lang.String key)
void
setShouldRecover(boolean shouldRecover)
-
-
-
Field Detail
-
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
-
JOB_CLASS
public static final java.lang.String JOB_CLASS
- See Also:
- Constant Field Values
-
JOB_DATA_MAP
public static final java.lang.String JOB_DATA_MAP
- See Also:
- Constant Field Values
-
DURABILITY
public static final java.lang.String DURABILITY
- See Also:
- Constant Field Values
-
SHOULD_RECOVER
public static final java.lang.String SHOULD_RECOVER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VitamJobDetail
public VitamJobDetail(java.lang.String key, java.lang.String description, java.lang.String jobClass, java.util.Map<java.lang.String,java.lang.Object> jobDataMap, boolean durability, boolean shouldRecover)
-
VitamJobDetail
public VitamJobDetail(org.quartz.JobDetail jobDetail)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getJobClass
public java.lang.String getJobClass()
-
setJobClass
public void setJobClass(java.lang.String jobClass)
-
getJobDataMap
public java.util.Map<java.lang.String,java.lang.Object> getJobDataMap()
-
setJobDataMap
public void setJobDataMap(java.util.Map<java.lang.String,java.lang.Object> jobDataMap)
-
isDurability
public boolean isDurability()
-
setDurability
public void setDurability(boolean durability)
-
isShouldRecover
public boolean isShouldRecover()
-
setShouldRecover
public void setShouldRecover(boolean shouldRecover)
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
-