public class LightweightTaskData extends IdTitle
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected java.lang.String |
comment |
protected int |
day |
protected int |
dayOfWeek |
protected int |
hour |
protected long |
min |
protected java.lang.String |
moduleId |
protected java.lang.String |
moduleName |
protected int |
month |
protected java.lang.String |
params |
protected Period |
period |
protected int |
priority |
protected int |
status
Deprecated.
|
protected TaskStatus |
taskStatus |
Constructor and Description |
---|
LightweightTaskData() |
LightweightTaskData(int month,
int day,
int hour,
int dayOfWeek,
long min) |
LightweightTaskData(int id,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName() |
java.lang.String |
getComment() |
int |
getDay() |
int |
getDayOfWeek() |
java.lang.String |
getDependModuleId() |
java.lang.String |
getDependModuleName() |
java.lang.String |
getDependTaskClass() |
java.lang.String |
getDependTaskParams() |
java.lang.String |
getDependTaskTitle() |
int |
getHour() |
long |
getMin() |
java.lang.String |
getModuleId() |
java.lang.String |
getModuleName() |
int |
getMonth() |
java.lang.String |
getParams() |
Period |
getPeriod() |
int |
getPriority() |
int |
getStatus()
Deprecated.
|
TaskStatus |
getTaskStatus()
Получение статуса задачи.
|
void |
setClassName(java.lang.String className) |
void |
setComment(java.lang.String comment) |
void |
setDay(int day) |
void |
setDayOfWeek(int dayOfWeek) |
void |
setDependModuleId(java.lang.String dependModuleId) |
void |
setDependModuleName(java.lang.String dependModuleName) |
void |
setDependTaskClass(java.lang.String dependTaskClass) |
void |
setDependTaskParams(java.lang.String dependTaskParams) |
void |
setDependTaskTitle(java.lang.String dependTaskTitle) |
void |
setHour(int hour) |
void |
setMin(long min) |
void |
setModuleId(java.lang.String moduleId) |
void |
setModuleName(java.lang.String moduleName) |
void |
setMonth(int month) |
void |
setParams(java.lang.String params) |
void |
setPeriod(Period period) |
void |
setPriority(int priority) |
void |
setStatus(int status)
Deprecated.
|
void |
setTaskStatus(TaskStatus taskStatus)
Установка статуса задачи.
|
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
protected int month
protected int day
protected int hour
protected int dayOfWeek
protected long min
protected java.lang.String className
protected java.lang.String moduleId
protected java.lang.String moduleName
protected int priority
@Deprecated protected int status
protected TaskStatus taskStatus
protected java.lang.String params
protected Period period
protected java.lang.String comment
public LightweightTaskData()
public LightweightTaskData(int id, java.lang.String title)
public LightweightTaskData(int month, int day, int hour, int dayOfWeek, long min)
public int getMonth()
public void setMonth(int month)
public int getDay()
public void setDay(int day)
public int getHour()
public void setHour(int hour)
public int getDayOfWeek()
public void setDayOfWeek(int dayOfWeek)
public long getMin()
public void setMin(long min)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public java.lang.String getModuleId()
public void setModuleId(java.lang.String moduleId)
public java.lang.String getModuleName()
public void setModuleName(java.lang.String moduleName)
public int getPriority()
public void setPriority(int priority)
@Deprecated public int getStatus()
getTaskStatus()
@Deprecated public void setStatus(int status)
setTaskStatus(TaskStatus)
status
- public TaskStatus getTaskStatus()
TaskStatus.ENABLE
- задача включенаTaskStatus.DISABLE
- задача выключенаpublic void setTaskStatus(TaskStatus taskStatus)
TaskStatus.ENABLE
- задача включенаTaskStatus.DISABLE
- задача выключенаtaskStatus
- the taskStatus to setpublic java.lang.String getParams()
public void setParams(java.lang.String params)
public Period getPeriod()
public void setPeriod(Period period)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String getDependModuleId()
public void setDependModuleId(java.lang.String dependModuleId)
public java.lang.String getDependModuleName()
public void setDependModuleName(java.lang.String dependModuleName)
public java.lang.String getDependTaskClass()
public void setDependTaskClass(java.lang.String dependTaskClass)
public java.lang.String getDependTaskTitle()
public void setDependTaskTitle(java.lang.String dependTaskTitle)
public java.lang.String getDependTaskParams()
public void setDependTaskParams(java.lang.String dependTaskParams)