Package com.collabnet.ce.webservices
Class CTFGroup
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFGroup
-
- All Implemented Interfaces:
ObjectWithTitle
public class CTFGroup extends Object implements ObjectWithTitle
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
protected String
id
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMember(CTFUser u)
Adds the user to the this group.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
getFullName()
String
getId()
String
getTitle()
Alias forgetFullName()
.-
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
-
getFullName
public String getFullName()
-
getDescription
public String getDescription()
-
getTitle
public String getTitle()
Alias forgetFullName()
.- Specified by:
getTitle
in interfaceObjectWithTitle
-
addMember
public void addMember(CTFUser u) throws IOException
Adds the user to the this group.- 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.
-
-