Package com.axelor.meta.db
Class MetaSchedule
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaSchedule
This object stores the scheduler configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParam
(MetaScheduleParam item) Add the givenMetaScheduleParam
item to theparams
collection.void
Clear theparams
collection.boolean
getCron()
getId()
getJob()
getName()
int
hashCode()
void
removeParam
(MetaScheduleParam item) Remove the givenMetaScheduleParam
item from theparams
collection.void
void
void
setDescription
(String description) void
void
void
void
setParams
(List<MetaScheduleParam> params) toString()
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
Constructor Details
-
MetaSchedule
public MetaSchedule() -
MetaSchedule
-
-
Method Details
-
getId
-
setId
-
getActive
-
setActive
-
getName
-
setName
-
getDescription
-
setDescription
-
getJob
-
setJob
-
getCron
-
setCron
-
getParams
-
setParams
-
addParam
Add the givenMetaScheduleParam
item to theparams
collection.It sets
item.schedule = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeParam
Remove the givenMetaScheduleParam
item from theparams
collection.- Parameters:
item
- the item to remove
-
clearParams
public void clearParams()Clear theparams
collection. -
equals
-
hashCode
public int hashCode() -
toString
-