|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is to define general services provided by luntbuild system. Other system interact with luntbuild through this interface
| Method Summary | |
BuildScheduleFacade |
getBuildScheduleByName(ViewFacade viewFacade,
java.lang.String scheduleName)
Get build schedule by view and schedule name, if more than one build schedule have the same name, a random build schedule will be returned |
BuildFacade |
getLastBuild(BuildScheduleFacade buildScheduleFacade)
Get latest build for specified build schedule |
BuildFacade |
getLastSuccessBuild(BuildScheduleFacade buildScheduleFacade)
Get last successful build for specified build schedule |
ProjectFacade |
getProjectByName(java.lang.String projectName)
Get project by project name, if more than one project have the same name, a random project will be returned |
ScheduleFacade |
getScheduleByName(java.lang.String scheduleName)
Get schedule by schedule name, if more than one schedule have the same name, a random schedule will be returned |
java.lang.String |
getSystemProperty(java.lang.String propertyName)
Get luntbuild system property value by specifying property name. |
ViewFacade |
getViewByName(ProjectFacade projectFacade,
java.lang.String viewName)
Get view by project and view name, if more than one view have the same name, a random view will be returned |
void |
saveBuildSchedule(BuildScheduleFacade buildScheduleFacade)
Update properties of a build schedule based on its facade object |
void |
saveProject(ProjectFacade projectFacade)
Update properties of a project based on its facade object |
void |
saveSchedule(ScheduleFacade scheduleFacade)
Update properties of a schedule based on its facade object |
void |
saveView(ViewFacade viewFacade)
Update properties of a view based on its facade object |
java.util.List |
searchBuilds(SearchCriteria condition,
int start,
int count)
Search for builds in the system |
void |
setSystemProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Set luntbuild system property value. |
void |
triggerBuild(BuildScheduleFacade buildScheduleFacade,
java.lang.String buildAsVersion,
java.lang.String buildType,
java.lang.String postbuildStrategy,
java.lang.String labelStrategy,
java.lang.String notifyStrategy)
Trigger a build within specified build schedule |
| Method Detail |
public ProjectFacade getProjectByName(java.lang.String projectName)
projectName - name of the returned project
public ViewFacade getViewByName(ProjectFacade projectFacade,
java.lang.String viewName)
projectFacade - project facade of the returned viewviewName - name of the returned view
public BuildScheduleFacade getBuildScheduleByName(ViewFacade viewFacade,
java.lang.String scheduleName)
viewFacade - view facade of the returned build schedulescheduleName - name of the returned build schedule
public ScheduleFacade getScheduleByName(java.lang.String scheduleName)
scheduleName - name of the returned schedule
public void triggerBuild(BuildScheduleFacade buildScheduleFacade,
java.lang.String buildAsVersion,
java.lang.String buildType,
java.lang.String postbuildStrategy,
java.lang.String labelStrategy,
java.lang.String notifyStrategy)
buildScheduleFacade - the build schedule to trigger a build in, refer to BuildScheduleFacadebuildAsVersion - the version of the new build, or null if use default versionbuildType - specifies clean or increment build, or null if use default build type
see constant definition for build type in BuildScheduleFacadepostbuildStrategy - post-build strategy of this new build, or null if use default post-build strategy.
see constant definitions for post-build strategy in BuildScheduleFacadelabelStrategy - label strategy of this new build, or null if use default lable strategy.
see constant definitions for label strategy in BuildScheduleFacadenotifyStrategy - notify strategy of this new build, or null if use default notify strategy.
see constant definitions for notify strategy in BuildScheduleFacadepublic void saveProject(ProjectFacade projectFacade)
projectFacade - public void saveView(ViewFacade viewFacade)
viewFacade - public void saveSchedule(ScheduleFacade scheduleFacade)
scheduleFacade - public void saveBuildSchedule(BuildScheduleFacade buildScheduleFacade)
buildScheduleFacade - public java.lang.String getSystemProperty(java.lang.String propertyName)
SystemPropertyNames for defined system property names
propertyName -
public void setSystemProperty(java.lang.String propertyName,
java.lang.String propertyValue)
SystemPropertyNames for
defined system property names
propertyName - propertyValue -
public java.util.List searchBuilds(SearchCriteria condition,
int start,
int count)
condition - the condition matching builds should meetstart - start position of search operationcount - number of builds to retrieve. No limit will be set on number of
returned builds if this value equals to 0
public BuildFacade getLastBuild(BuildScheduleFacade buildScheduleFacade)
buildScheduleFacade -
public BuildFacade getLastSuccessBuild(BuildScheduleFacade buildScheduleFacade)
buildScheduleFacade -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||