Package com.collabnet.ce.webservices
Class CTFReleaseFile
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFItem
-
- com.collabnet.ce.webservices.CTFReleaseFile
-
- All Implemented Interfaces:
ObjectWithTitle
public class CTFReleaseFile extends CTFItem
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
protected String
id
-
Constructor Summary
Constructors Modifier Constructor Description protected
CTFReleaseFile(com.collabnet.ce.webservices.CTFObject parent, org.json.simple.JSONObject data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
getDescription()
String
getFilename()
String
getId()
String
getMimeType()
long
getSize()
String
getURL()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.collabnet.ce.webservices.ObjectWithTitle
getId
-
-
-
-
Field Detail
-
app
protected final CollabNetApp app
-
id
protected final String id
-
-
Method Detail
-
getDescription
public String getDescription()
-
getMimeType
public String getMimeType()
-
getFilename
public String getFilename()
-
getSize
public long getSize()
-
getURL
public String getURL()
-
delete
public void delete() throws IOException
- Throws:
IOException
-
getId
public String getId()
-
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.
-
-