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