|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.TaskAction
com.thalesgroup.hudson.plugins.clearcaserelease.ClearcaseReleaseAction
public abstract class ClearcaseReleaseAction
Represents a clearcase action
Field Summary | |
---|---|
protected hudson.FilePath |
workspaceRoot
|
Fields inherited from class hudson.model.TaskAction |
---|
log, workerThread |
Constructor Summary | |
---|---|
protected |
ClearcaseReleaseAction(hudson.FilePath workapace)
|
Method Summary | |
---|---|
protected java.lang.String |
chooseAction()
Choose the page to display during the release processing |
protected void |
doIndex(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Select the view to display |
protected hudson.security.Permission |
getPermission()
Defaults to SCM.TAG . |
protected boolean |
hasReleasePermission(hudson.model.AbstractProject job)
Release actions is given by the SCM actions |
void |
performCancelRelease(hudson.model.TaskListener listener,
hudson.model.Run owner,
ClearcaseReleaseBuildBadgeAction releaseBuildBadgeAction,
ClearcaseReleaseCancelAction clearcaseReleaseCancelAction,
java.util.List<java.lang.String> promotedBaselines)
Cancel the baselines pronotion |
void |
performClearcaseReleaseCompisteBaseline(hudson.model.TaskListener listener,
hudson.model.AbstractBuild owner,
java.lang.String customReleasePromotionLevel)
Release a composite baseline |
void |
performLatestBaselineRelease(hudson.model.TaskListener listener,
hudson.model.AbstractProject project,
hudson.model.Run owner,
java.lang.String customReleasePromotionLevel)
Relase lastest baselines |
Methods inherited from class hudson.model.TaskAction |
---|
doClearError, doProgressiveHtml, doProgressiveLog, getACL, getLog, getSearchUrl, getWorkerThread, obtainLog |
Methods inherited from class hudson.model.AbstractModelObject |
---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.model.Action |
---|
getDisplayName, getIconFileName, getUrlName |
Field Detail |
---|
protected final hudson.FilePath workspaceRoot
Constructor Detail |
---|
protected ClearcaseReleaseAction(hudson.FilePath workapace)
Method Detail |
---|
protected hudson.security.Permission getPermission()
SCM.TAG
.
getPermission
in class hudson.model.TaskAction
protected boolean hasReleasePermission(hudson.model.AbstractProject job)
job
- the current project
protected void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws java.io.IOException, javax.servlet.ServletException
req
- the request objectrsp
- the response page
java.io.IOException
javax.servlet.ServletException
protected java.lang.String chooseAction()
public void performClearcaseReleaseCompisteBaseline(hudson.model.TaskListener listener, hudson.model.AbstractBuild owner, java.lang.String customReleasePromotionLevel) throws java.io.IOException, java.lang.InterruptedException
listener
- owner
- customReleasePromotionLevel
-
java.io.IOException
java.lang.InterruptedException
public void performCancelRelease(hudson.model.TaskListener listener, hudson.model.Run owner, ClearcaseReleaseBuildBadgeAction releaseBuildBadgeAction, ClearcaseReleaseCancelAction clearcaseReleaseCancelAction, java.util.List<java.lang.String> promotedBaselines) throws java.io.IOException, java.lang.InterruptedException
listener
- owner
- releaseBuildBadgeAction
- clearcaseReleaseCancelAction
- promotedBaselines
-
java.io.IOException
java.lang.InterruptedException
public void performLatestBaselineRelease(hudson.model.TaskListener listener, hudson.model.AbstractProject project, hudson.model.Run owner, java.lang.String customReleasePromotionLevel) throws java.io.IOException, java.lang.InterruptedException
listener
- project
- owner
- customReleasePromotionLevel
-
java.io.IOException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |