Package org.openbravo.model.scheduling
Class QuartzTriggers
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.scheduling.QuartzTriggers
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,DynamicEnabled
,Identifiable
public class QuartzTriggers extends BaseOBObject
Entity class for entity OBSCHEDTriggers (stored in table obsched_triggers).
Help: Quartz execution schedule of existent jobs
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_CALENDARNAME
Property calendarName stored in column Calendar_Name in table obsched_triggers
Help: Calendar name identifier.static String
PROPERTY_DESCRIPTION
Property description stored in column Description in table obsched_triggers
Help: A description is limited to 255 characters.static String
PROPERTY_ENDTIME
Property endTime stored in column END_Time in table obsched_triggers
Help: The time the process execution finished.static String
PROPERTY_ID
Property id stored in column Obsched_Triggers_ID in table obsched_triggersstatic String
PROPERTY_JOBDATA
Property jOBData stored in column JOB_Data in table obsched_triggers
Help: Serialized job data for process execution.static String
PROPERTY_JOBGROUP
Property jOBGroup stored in column JOB_Group in table obsched_triggers
Help: Quartz job group identifier.static String
PROPERTY_JOBNAME
Property jOBName stored in column JOB_Name in table obsched_triggers
Help: Quartz job name identifier.static String
PROPERTY_MISFIREINSTR
Property misfireInstr stored in column Misfire_Instr in table obsched_triggers
Help: Misfire instruction policy. By default smart policy is used and quartz takes care of choosing the correct policy.static String
PROPERTY_NEXTEXECUTION
Property nextExecution stored in column Next_Fire_Time in table obsched_triggers
Help: The next time a process will execute.static String
PROPERTY_PREVFIRETIME
Property prevFireTime stored in column Prev_Fire_Time in table obsched_triggers
Help: Last time the trigger has been fired.static String
PROPERTY_PRIORITY
Property priority stored in column Priority in table obsched_triggers
Help: The Priority indicates the importance of this request.static String
PROPERTY_SCHEDNAME
Property schedName stored in column Sched_Name in table obsched_triggers
Help: Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED". In a clustered environment it usually matches the machine.name of the cluster instance.static String
PROPERTY_STARTTIME
Property startTime stored in column Start_Time in table obsched_triggers
Help: The time at which an item is due to, or did, start.static String
PROPERTY_TRIGGERGROUP
Property triggerGroup stored in column Trigger_Group in table obsched_triggersstatic String
PROPERTY_TRIGGERNAME
Property triggerName stored in column Trigger_Name in table obsched_triggersstatic String
PROPERTY_TRIGGERSTATE
Property triggerState stored in column Trigger_State in table obsched_triggers
Help: State of a quartz trigger.static String
PROPERTY_TRIGGERTYPE
Property triggerType stored in column Trigger_Type in table obsched_triggers
Help: Type of trigger. Possible values: Blob, Calendar, Simprop, Simple, Cronstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description QuartzTriggers()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column Obsched_Triggers_ID in table obsched_triggers- See Also:
- Constant Field Values
-
PROPERTY_SCHEDNAME
public static final String PROPERTY_SCHEDNAME
Property schedName stored in column Sched_Name in table obsched_triggers
Help: Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED". In a clustered environment it usually matches the machine.name of the cluster instance.- See Also:
- Constant Field Values
-
PROPERTY_TRIGGERNAME
public static final String PROPERTY_TRIGGERNAME
Property triggerName stored in column Trigger_Name in table obsched_triggers- See Also:
- Constant Field Values
-
PROPERTY_TRIGGERGROUP
public static final String PROPERTY_TRIGGERGROUP
Property triggerGroup stored in column Trigger_Group in table obsched_triggers- See Also:
- Constant Field Values
-
PROPERTY_JOBNAME
public static final String PROPERTY_JOBNAME
Property jOBName stored in column JOB_Name in table obsched_triggers
Help: Quartz job name identifier.- See Also:
- Constant Field Values
-
PROPERTY_JOBGROUP
public static final String PROPERTY_JOBGROUP
Property jOBGroup stored in column JOB_Group in table obsched_triggers
Help: Quartz job group identifier.- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table obsched_triggers
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_NEXTEXECUTION
public static final String PROPERTY_NEXTEXECUTION
Property nextExecution stored in column Next_Fire_Time in table obsched_triggers
Help: The next time a process will execute.- See Also:
- Constant Field Values
-
PROPERTY_PREVFIRETIME
public static final String PROPERTY_PREVFIRETIME
Property prevFireTime stored in column Prev_Fire_Time in table obsched_triggers
Help: Last time the trigger has been fired.- See Also:
- Constant Field Values
-
PROPERTY_PRIORITY
public static final String PROPERTY_PRIORITY
Property priority stored in column Priority in table obsched_triggers
Help: The Priority indicates the importance of this request.- See Also:
- Constant Field Values
-
PROPERTY_TRIGGERSTATE
public static final String PROPERTY_TRIGGERSTATE
Property triggerState stored in column Trigger_State in table obsched_triggers
Help: State of a quartz trigger.- See Also:
- Constant Field Values
-
PROPERTY_TRIGGERTYPE
public static final String PROPERTY_TRIGGERTYPE
Property triggerType stored in column Trigger_Type in table obsched_triggers
Help: Type of trigger. Possible values: Blob, Calendar, Simprop, Simple, Cron- See Also:
- Constant Field Values
-
PROPERTY_STARTTIME
public static final String PROPERTY_STARTTIME
Property startTime stored in column Start_Time in table obsched_triggers
Help: The time at which an item is due to, or did, start.- See Also:
- Constant Field Values
-
PROPERTY_ENDTIME
public static final String PROPERTY_ENDTIME
Property endTime stored in column END_Time in table obsched_triggers
Help: The time the process execution finished.- See Also:
- Constant Field Values
-
PROPERTY_CALENDARNAME
public static final String PROPERTY_CALENDARNAME
Property calendarName stored in column Calendar_Name in table obsched_triggers
Help: Calendar name identifier.- See Also:
- Constant Field Values
-
PROPERTY_MISFIREINSTR
public static final String PROPERTY_MISFIREINSTR
Property misfireInstr stored in column Misfire_Instr in table obsched_triggers
Help: Misfire instruction policy. By default smart policy is used and quartz takes care of choosing the correct policy.- See Also:
- Constant Field Values
-
PROPERTY_JOBDATA
public static final String PROPERTY_JOBDATA
Property jOBData stored in column JOB_Data in table obsched_triggers
Help: Serialized job data for process execution.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getSchedName
public String getSchedName()
- See Also:
PROPERTY_SCHEDNAME
-
setSchedName
public void setSchedName(String schedName)
- See Also:
PROPERTY_SCHEDNAME
-
getTriggerName
public String getTriggerName()
- See Also:
PROPERTY_TRIGGERNAME
-
setTriggerName
public void setTriggerName(String triggerName)
- See Also:
PROPERTY_TRIGGERNAME
-
getTriggerGroup
public String getTriggerGroup()
- See Also:
PROPERTY_TRIGGERGROUP
-
setTriggerGroup
public void setTriggerGroup(String triggerGroup)
- See Also:
PROPERTY_TRIGGERGROUP
-
getJOBName
public String getJOBName()
- See Also:
PROPERTY_JOBNAME
-
setJOBName
public void setJOBName(String jOBName)
- See Also:
PROPERTY_JOBNAME
-
getJOBGroup
public String getJOBGroup()
- See Also:
PROPERTY_JOBGROUP
-
setJOBGroup
public void setJOBGroup(String jOBGroup)
- See Also:
PROPERTY_JOBGROUP
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getNextExecution
public Long getNextExecution()
- See Also:
PROPERTY_NEXTEXECUTION
-
setNextExecution
public void setNextExecution(Long nextExecution)
- See Also:
PROPERTY_NEXTEXECUTION
-
getPrevFireTime
public Long getPrevFireTime()
- See Also:
PROPERTY_PREVFIRETIME
-
setPrevFireTime
public void setPrevFireTime(Long prevFireTime)
- See Also:
PROPERTY_PREVFIRETIME
-
getPriority
public Long getPriority()
- See Also:
PROPERTY_PRIORITY
-
setPriority
public void setPriority(Long priority)
- See Also:
PROPERTY_PRIORITY
-
getTriggerState
public String getTriggerState()
- See Also:
PROPERTY_TRIGGERSTATE
-
setTriggerState
public void setTriggerState(String triggerState)
- See Also:
PROPERTY_TRIGGERSTATE
-
getTriggerType
public String getTriggerType()
- See Also:
PROPERTY_TRIGGERTYPE
-
setTriggerType
public void setTriggerType(String triggerType)
- See Also:
PROPERTY_TRIGGERTYPE
-
getStartTime
public Long getStartTime()
- See Also:
PROPERTY_STARTTIME
-
setStartTime
public void setStartTime(Long startTime)
- See Also:
PROPERTY_STARTTIME
-
getEndTime
public Long getEndTime()
- See Also:
PROPERTY_ENDTIME
-
setEndTime
public void setEndTime(Long endTime)
- See Also:
PROPERTY_ENDTIME
-
getCalendarName
public String getCalendarName()
- See Also:
PROPERTY_CALENDARNAME
-
setCalendarName
public void setCalendarName(String calendarName)
- See Also:
PROPERTY_CALENDARNAME
-
getMisfireInstr
public Long getMisfireInstr()
- See Also:
PROPERTY_MISFIREINSTR
-
setMisfireInstr
public void setMisfireInstr(Long misfireInstr)
- See Also:
PROPERTY_MISFIREINSTR
-
getJOBData
public byte[] getJOBData()
- See Also:
PROPERTY_JOBDATA
-
setJOBData
public void setJOBData(byte[] jOBData)
- See Also:
PROPERTY_JOBDATA
-
-