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 CollabNetAppapp
-
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.StringgetDescription()StringgetId()StringgetParentFolderId()StringgetPath()CTFProjectgetProject()Gets the project that this belongs to.StringgetTitle()
-
-
-
Field Detail
-
app
protected final CollabNetApp app
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin 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:
getTitlein 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.
-
-