hudson.plugins.sfee
Class SFEEReleaseTask<T extends hudson.model.AbstractBuild>
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.plugins.sfee.SFEEReleaseTask<T>
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled
public class SFEEReleaseTask<T extends hudson.model.AbstractBuild>
- extends hudson.model.TaskAction
- implements hudson.security.AccessControlled
| Fields inherited from class hudson.model.TaskAction |
log, workerThread |
|
Constructor Summary |
SFEEReleaseTask(hudson.model.AbstractBuild<?,?> build,
String releasePackageId,
String releaseName,
String releaseToReplace,
String maturity,
boolean uploadFiles,
boolean replaceFiles)
|
|
Method Summary |
void |
checkPermission(hudson.security.Permission permission)
|
static String |
createOrUpdateRelease(hudson.model.TaskListener listener,
String releaseName,
String releaseToReplace,
String packageId,
String maturity)
|
void |
doStop(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
void |
doUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Performs an upload. |
hudson.security.ACL |
getACL()
|
hudson.model.AbstractBuild<?,?> |
getBuild()
|
String |
getDisplayName()
|
Map<String,Boolean> |
getDownloadingArtifactList()
|
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
Object |
getFileReleaseId()
|
String |
getFileReleaseUrl()
|
hudson.plugins.sfee.SFEEReleaseTask.HistoryWidgetImpl |
getHistoryWidget()
|
String |
getIconFileName()
|
String |
getMaturity()
|
protected hudson.security.Permission |
getPermission()
|
CopyOnWriteArrayList<SFEEReleaseTask.Record> |
getRecords()
|
String |
getReleaseName()
|
String |
getReleasePackageId()
|
String |
getReleaseToReplace()
|
List<TrackerArtifact> |
getResolvedTrackerArtifacts()
|
String |
getUrlName()
|
boolean |
hasPermission(hudson.security.Permission permission)
|
boolean |
isCompleted()
|
boolean |
isReplaceFiles()
|
boolean |
isUploadBuildLog()
|
boolean |
isUploadFiles()
|
protected void |
onComplete()
|
void |
setDownloadingArtifactList(Map<String,Boolean> downloadingArtifactList)
|
void |
setUploadBuildLog(boolean uploadBuildLog)
|
void |
startUpload()
|
| Methods inherited from class hudson.model.TaskAction |
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread, obtainLog |
| Methods inherited from class hudson.model.AbstractModelObject |
getConfiguredHudsonProperty, 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 |
records
public final CopyOnWriteArrayList<SFEEReleaseTask.Record> records
- Records of a deployment.
fileReleaseId
protected String fileReleaseId
SFEEReleaseTask
public SFEEReleaseTask(hudson.model.AbstractBuild<?,?> build,
String releasePackageId,
String releaseName,
String releaseToReplace,
String maturity,
boolean uploadFiles,
boolean replaceFiles)
getACL
public hudson.security.ACL getACL()
- Specified by:
getACL in interface hudson.security.AccessControlled- Specified by:
getACL in class hudson.model.TaskAction
getPermission
protected hudson.security.Permission getPermission()
- Specified by:
getPermission in class hudson.model.TaskAction
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
isCompleted
public boolean isCompleted()
getHistoryWidget
public hudson.plugins.sfee.SFEEReleaseTask.HistoryWidgetImpl getHistoryWidget()
getDynamic
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
doUpload
public final void doUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
IOException
- Performs an upload.
- Throws:
javax.servlet.ServletException
IOException
startUpload
public void startUpload()
throws IOException
- Throws:
IOException
createOrUpdateRelease
public static String createOrUpdateRelease(hudson.model.TaskListener listener,
String releaseName,
String releaseToReplace,
String packageId,
String maturity)
throws NoSuchObjectFault,
InvalidSessionFault,
SystemFault,
PermissionDeniedFault,
RemoteException
- Throws:
NoSuchObjectFault
InvalidSessionFault
SystemFault
PermissionDeniedFault
RemoteException
getBuild
public hudson.model.AbstractBuild<?,?> getBuild()
getReleasePackageId
public String getReleasePackageId()
getReleaseName
public String getReleaseName()
getMaturity
public String getMaturity()
getReleaseToReplace
public String getReleaseToReplace()
getResolvedTrackerArtifacts
public List<TrackerArtifact> getResolvedTrackerArtifacts()
isUploadFiles
public boolean isUploadFiles()
isReplaceFiles
public boolean isReplaceFiles()
getRecords
public CopyOnWriteArrayList<SFEEReleaseTask.Record> getRecords()
getFileReleaseId
public Object getFileReleaseId()
getFileReleaseUrl
public String getFileReleaseUrl()
isUploadBuildLog
public boolean isUploadBuildLog()
setUploadBuildLog
public void setUploadBuildLog(boolean uploadBuildLog)
doStop
public void doStop(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
- Throws:
IOException
onComplete
protected void onComplete()
setDownloadingArtifactList
public void setDownloadingArtifactList(Map<String,Boolean> downloadingArtifactList)
getDownloadingArtifactList
public Map<String,Boolean> getDownloadingArtifactList()
checkPermission
public void checkPermission(hudson.security.Permission permission)
- Specified by:
checkPermission in interface hudson.security.AccessControlled
hasPermission
public boolean hasPermission(hudson.security.Permission permission)
- Specified by:
hasPermission in interface hudson.security.AccessControlled
Copyright © 2004-2012 Hudson. All Rights Reserved.