|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.luntsys.luntbuild.remoting.BuildScheduleFacade
Facade of a luntbuild build schedule. Mainly used by web service client to operate on properties of a build schedule
| Field Summary | |
static java.lang.String |
BUILD_ALWAYS
|
static java.lang.String |
BUILD_ALWAYS_IF_FAILED
|
static java.lang.String |
BUILD_NONE
|
static java.lang.String |
BUILD_TYPE_CLEAN
|
static java.lang.String |
BUILD_TYPE_INCREMENT
|
static java.lang.String |
BUILD_WHEN_NECESSARY
|
static int |
FAILED
|
static java.lang.String |
LABEL_ALWAYS
|
static java.lang.String |
LABEL_NONE
|
static java.lang.String |
LABEL_WHEN_SUCCESS
|
static java.lang.String |
NOTIFY_ALWAYS
|
static java.lang.String |
NOTIFY_NONE
|
static java.lang.String |
NOTIFY_WHEN_FAILED
|
static java.lang.String |
NOTIFY_WHEN_SUCCESS
|
static java.lang.String |
POSTBUILD_ALWAYS
|
static java.lang.String |
POSTBUILD_NONE
|
static java.lang.String |
POSTBUILD_WHEN_FAILED
|
static java.lang.String |
POSTBUILD_WHEN_SUCCESS
|
static int |
RUNNING
|
static int |
SUCCESS
|
static int |
UNKNOWN
|
| Constructor Summary | |
BuildScheduleFacade()
|
|
| Method Summary | |
java.lang.String |
getBuildStrategy()
Get build strategy of this build schedule. |
long |
getId()
Get id of this build schedule |
java.lang.String |
getLabelStrategy()
Get label strategy of this build schedule |
java.lang.String |
getNotifyStrategy()
Get notify strategy of this build schedule |
java.lang.String |
getPostbuildStrategy()
Get post-build strategy of this build schedule |
int |
getStatus()
Get status of this build schedule |
java.util.Date |
getStatusDate()
Get the date when this build schedule get its current status |
java.lang.String |
getUrl()
Get url of this build schedule |
boolean |
isCleanBuild()
Wheter or not this build schedule schedules clean build |
void |
setBuildStrategy(java.lang.String buildStrategy)
Set build strategy of this build schedule |
void |
setCleanBuild(boolean cleanBuild)
Set whether or not this build schedules clean build |
void |
setId(long id)
Set id of this build schedule |
void |
setLabelStrategy(java.lang.String labelStrategy)
Set label strategy of this build schedule |
void |
setNotifyStrategy(java.lang.String notifyStrategy)
Set notify strategy of this build |
void |
setPostbuildStrategy(java.lang.String postbuildStrategy)
Set post-build strategy of this build schedule |
void |
setStatus(int status)
Set status of this build schedule |
void |
setStatusDate(java.util.Date statusDate)
Set date when this build schedule get its current status |
void |
setUrl(java.lang.String url)
Set url of this build 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 UNKNOWN
public static final int SUCCESS
public static final int FAILED
public static final int RUNNING
public static final java.lang.String BUILD_TYPE_CLEAN
public static final java.lang.String BUILD_TYPE_INCREMENT
public static final java.lang.String BUILD_WHEN_NECESSARY
public static final java.lang.String BUILD_ALWAYS_IF_FAILED
public static final java.ang.String BUILD_ALWAYS
public static final java.lang.String BUILD_NONE
public static final java.lang.String LABEL_WHEN_SUCCESS
public static final java.lang.String LABEL_NONE
public static final java.lang.String LABEL_ALWAYS
public static final java.lang.String NOTIFY_WHEN_SUCCESS
public static final java.lang.String NOTIFY_WHEN_FAILED
public static final java.lang.String NOTIFY_NONE
public static final java.lang.String NOTIFY_ALWAYS
public static final java.lang.String POSTBUILD_NONE
public static final java.lang.String POSTBUILD_WHEN_SUCCESS
public static final java.lang.String POSTBUILD_WHEN_FAILED
public static final java.lang.String POSTBUILD_ALWAYS
| Constructor Detail |
public BuildScheduleFacade()
| Method Detail |
public long getId()
public void setId(long id)
id - public boolean isCleanBuild()
public void setCleanBuild(boolean cleanBuild)
cleanBuild - public java.lang.String getBuildStrategy()
BUILD_ALWAYS,
BUILD_ALWAYS_IF_FAILED, BUILD_NONE,
BUILD_WHEN_NECESSARYpublic void setBuildStrategy(java.lang.String buildStrategy)
buildStrategy - one of the value of BUILD_ALWAYS,
BUILD_ALWAYS_IF_FAILED, BUILD_NONE,
BUILD_WHEN_NECESSARYpublic java.lang.String getLabelStrategy()
LABEL_ALWAYS,
LABEL_NONE, LABEL_WHEN_SUCCESSpublic void setLabelStrategy(java.lang.String labelStrategy)
labelStrategy - one of the value of LABEL_ALWAYS,
LABEL_NONE, LABEL_WHEN_SUCCESSpublic java.lang.String getNotifyStrategy()
NOTIFY_ALWAYS,
NOTIFY_NONE, NOTIFY_WHEN_FAILED,
NOTIFY_WHEN_SUCCESSpublic void setNotifyStrategy(java.lang.String notifyStrategy)
notifyStrategy - public int getStatus()
FAILED, RUNNING,
UNKNOWN, SUCCESSpublic void setStatus(int status)
status - one of the value of FAILED, RUNNING,
UNKNOWN, SUCCESSpublic java.util.Date getStatusDate()
public void setStatusDate(java.util.Date statusDate)
statusDate - public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - public java.lang.String getPostbuildStrategy()
POSTBUILD_ALWAYS,
POSTBUILD_NONE, POSTBUILD_WHEN_FAILED,
POSTBUILD_WHEN_SUCCESSpublic void setPostbuildStrategy(java.lang.String postbuildStrategy)
postbuildStrategy - one of the value of POSTBUILD_ALWAYS,
POSTBUILD_NONE, POSTBUILD_WHEN_FAILED,
POSTBUILD_WHEN_SUCCESS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||