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 TypeMethodDescriptionvoidaddParam(MetaScheduleParam item) Add the givenMetaScheduleParamitem to theparamscollection.voidClear theparamscollection.booleangetCron()getId()getJob()getName()inthashCode()voidremoveParam(MetaScheduleParam item) Remove the givenMetaScheduleParamitem from theparamscollection.voidvoidvoidsetDescription(String description) voidvoidvoidvoidsetParams(List<MetaScheduleParam> params) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods 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 givenMetaScheduleParamitem to theparamscollection.It sets
item.schedule = thisto ensure the proper relationship.- Parameters:
item- the item to add
-
removeParam
Remove the givenMetaScheduleParamitem from theparamscollection.- Parameters:
item- the item to remove
-
clearParams
public void clearParams()Clear theparamscollection. -
equals
-
hashCode
public int hashCode() -
toString
-