|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.luntsys.luntbuild.remoting.ScheduleFacade
Facade of a luntbuild schedule.. Mainly used by web service client to operate on properties of a schedule
| Field Summary | |
static int |
TRIGGER_CRON
|
static int |
TRIGGER_MANUAL
|
static int |
TRIGGER_SIMPLE
|
| Constructor Summary | |
ScheduleFacade()
|
|
| Method Summary | |
java.lang.String |
getCronExpression()
Get cron expression of this schedule. |
java.lang.String |
getDescription()
Get description of this schedule |
long |
getId()
Get id of this schedule |
java.lang.String |
getName()
Get name of this schedule |
long |
getRepeatInterval()
Get repeat interval of this schedule, only meaningful when result of getTriggerType()
is TRIGGER_SIMPLE |
int |
getTriggerType()
Get trigger type of this schedule |
void |
setCronExpression(java.lang.String cronExpression)
Set cron expression of this schedule. |
void |
setDescription(java.lang.String description)
Set description of this schedule |
void |
setId(long id)
Set id of this schedule |
void |
setName(java.lang.String name)
Set name of this schedule |
void |
setRepeatInterval(long repeatInterval)
Set repeat interval of this schedule. |
void |
setTriggerType(int triggerType)
Set trigger type of this schedule |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TRIGGER_MANUAL
public static final int TRIGGER_SIMPLE
public static final int TRIGGER_CRON
| Constructor Detail |
public ScheduleFacade()
| Method Detail |
public long getId()
public void setId(long id)
id - public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - public int getTriggerType()
TRIGGER_CRON, TRIGGER_MANUAL,
TRIGGER_SIMPLEpublic void setTriggerType(int triggerType)
triggerType - one value of TRIGGER_CRON, TRIGGER_MANUAL,
TRIGGER_SIMPLEpublic long getRepeatInterval()
getTriggerType()
is TRIGGER_SIMPLE
public void setRepeatInterval(long repeatInterval)
getTriggerType()
is TRIGGER_SIMPLE
repeatInterval - public java.lang.String getCronExpression()
getTriggerType()
is TRIGGER_CRON
public void setCronExpression(java.lang.String cronExpression)
getTriggerType()
is TRIGGER_CRON
cronExpression -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||