Package com.collabnet.ce.webservices
Class CTFRelease
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFFolder
-
- com.collabnet.ce.webservices.CTFRelease
-
- All Implemented Interfaces:
ObjectWithTitle
public class CTFRelease extends CTFFolder
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTFReleaseFile
addFile(String fileName, String mimeType, CTFFile file)
void
delete()
protected <T extends ObjectWithTitle>
TfindByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.CTFReleaseFile
getFileByTitle(String title)
List<CTFReleaseFile>
getFiles()
String
getUrl()
The HTTP URL of this release on the server.-
Methods inherited from class com.collabnet.ce.webservices.CTFFolder
getDescription, getId, getParentFolderId, getPath, getProject, getTitle
-
-
-
-
Field Detail
-
app
protected final CollabNetApp app
-
-
Method Detail
-
getUrl
public String getUrl()
The HTTP URL of this release on the server.
-
delete
public void delete() throws IOException
- Throws:
IOException
-
getFileByTitle
public CTFReleaseFile getFileByTitle(String title) throws IOException
- Throws:
IOException
-
getFiles
public List<CTFReleaseFile> getFiles() throws IOException
- Throws:
IOException
-
addFile
public CTFReleaseFile addFile(String fileName, String mimeType, CTFFile file) throws IOException
- Throws:
IOException
-
findByTitle
protected <T extends ObjectWithTitle> T findByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.
-
-