public class SourceForgeSite extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceForgeSite.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static SourceForgeSite.DescriptorImpl |
DESCRIPTOR |
| Constructor and Description |
|---|
SourceForgeSite() |
SourceForgeSite(String site,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
createRelease(String packageId,
String releaseName,
String description,
String status,
String maturity) |
String |
createSession(String userName,
String password) |
List<ArtifactDetailSoapRow> |
findArtifactsResolvedInRelease(String releaseTitle,
String projectId) |
hudson.model.JobPropertyDescriptor |
getDescriptor() |
FileStorageAppSoap |
getFileStorageApp() |
FrsAppSoap |
getFrsApp() |
String |
getFrsId(String releaseId,
String fileName) |
String |
getPassword() |
ProjectSoapRow[] |
getProjects()
returns all projects
|
ProjectSoapRow[] |
getProjects(String sessionId)
returns projects for user logged in with this session id
|
String |
getReleaseId(String packageId,
String name)
Updates the title of the release with the given name.
|
PackageSoapRow[] |
getReleasePackages(String projectId) |
String |
getSessionId() |
CollabNetSoap |
getSfApp() |
String |
getSite() |
TrackerAppSoap |
getTrackerApp() |
TrackerSoapRow[] |
getTrackers(String projectId) |
String |
getURL(String artifactId) |
UserSoapDO |
getUserDetails(String username) |
String |
getUserName() |
UserSoapRow[] |
getUsers() |
void |
obsoleteRelease(String releaseId) |
void |
setPassword(String password) |
void |
setUserName(String userName) |
void |
updateRelease(String releaseId,
String maturity,
String status) |
String |
updateReleaseName(String packageId,
String oldName,
String newName)
Updates the title of the release with the given name.
|
String |
uploadFileForRelease(String releaseId,
String name,
javax.activation.DataHandler dataHandler,
boolean forceUpdate) |
String |
uploadFileForRelease(String releaseId,
String name,
URL sourceURL,
boolean forceUpdate) |
@Extension public static final SourceForgeSite.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public SourceForgeSite(String site, String userName, String password)
public SourceForgeSite()
public String getSite()
public ProjectSoapRow[] getProjects()
public String getSessionId()
public hudson.model.JobPropertyDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>getDescriptor in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>public FrsAppSoap getFrsApp()
public CollabNetSoap getSfApp()
public TrackerAppSoap getTrackerApp()
public FileStorageAppSoap getFileStorageApp()
public String updateReleaseName(String packageId, String oldName, String newName) throws NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
RemoteExceptionPermissionDeniedFaultSystemFaultInvalidSessionFaultNoSuchObjectFaultpublic String getReleaseId(String packageId, String name) throws NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
RemoteExceptionPermissionDeniedFaultSystemFaultInvalidSessionFaultNoSuchObjectFaultpublic List<ArtifactDetailSoapRow> findArtifactsResolvedInRelease(String releaseTitle, String projectId) throws InvalidFilterFault, NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public String createRelease(String packageId, String releaseName, String description, String status, String maturity) throws IllegalArgumentFault, NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public String getFrsId(String releaseId, String fileName) throws InvalidSessionFault, SystemFault, RemoteException
public String uploadFileForRelease(String releaseId, String name, URL sourceURL, boolean forceUpdate) throws InvalidSessionFault, SystemFault, RemoteException
public String uploadFileForRelease(String releaseId, String name, javax.activation.DataHandler dataHandler, boolean forceUpdate) throws InvalidSessionFault, SystemFault, RemoteException
public PackageSoapRow[] getReleasePackages(String projectId) throws NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public TrackerSoapRow[] getTrackers(String projectId) throws NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public UserSoapRow[] getUsers() throws SearchQuerySyntaxFault, IllegalArgumentFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public UserSoapDO getUserDetails(String username) throws InvalidSessionFault, NoSuchObjectFault, IllegalArgumentFault, RemoteException
public ProjectSoapRow[] getProjects(String sessionId) throws InvalidSessionFault, SystemFault, RemoteException
sessionId - RemoteExceptionSystemFaultInvalidSessionFaultpublic void updateRelease(String releaseId, String maturity, String status) throws NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
public void obsoleteRelease(String releaseId) throws VersionMismatchFault, IllegalArgumentFault, NoSuchObjectFault, InvalidSessionFault, SystemFault, PermissionDeniedFault, RemoteException
Copyright © 2004-2014 Hudson. All Rights Reserved.