Package com.collabnet.ce.webservices
Class CTFItem
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFItem
-
- All Implemented Interfaces:
ObjectWithTitle
- Direct Known Subclasses:
CTFDocument
,CTFReleaseFile
public abstract class CTFItem extends Object implements ObjectWithTitle
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
protected String
id
-
Constructor Summary
Constructors Modifier Constructor Description protected
CTFItem(com.collabnet.ce.webservices.CTFObject parent, org.json.simple.JSONObject data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getFolder()
String
getId()
String
getPath()
String
getTitle()
-
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
-
getPath
public String getPath()
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceObjectWithTitle
-
getFolder
public String getFolder()
-
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.
-
-