Package com.collabnet.ce.webservices
Class CTFFolder
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFFolder
-
- All Implemented Interfaces:
ObjectWithTitle
- Direct Known Subclasses:
CTFDocumentFolder
,CTFPackage
,CTFRelease
,CTFScmRepository
,CTFTracker
public abstract class CTFFolder extends Object implements ObjectWithTitle
Folder-like container object.- 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 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
getId()
String
getParentFolderId()
String
getPath()
CTFProject
getProject()
Gets the project that this belongs to.String
getTitle()
-
-
-
Field Detail
-
app
protected final CollabNetApp app
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceObjectWithTitle
-
getProject
public CTFProject getProject() throws IOException
Gets the project that this belongs to.- Throws:
IOException
-
getPath
public String getPath()
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceObjectWithTitle
-
getDescription
public String getDescription()
-
getParentFolderId
public String getParentFolderId()
-
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.
-
-