|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.jnt.JNForums
public final class JNForums
java.net discussion forums in one project.
Method Summary | |
---|---|
JNForum |
createForum(String name,
String description)
Creats a new forum. |
JNForum |
getForum(String name)
Returns the forum of the specified name. |
List<JNForum> |
getForums()
Returns all the forums in this project as a List of JNForum s. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public List<JNForum> getForums() throws ProcessingException
List
of JNForum
s.
ProcessingException
public JNForum getForum(String name) throws ProcessingException
This method returns the JNForum
from getForums()
such that JNForum.getName()
.equals(name).
ProcessingException
public JNForum createForum(String name, String description) throws ProcessingException
This is a priviledged operation.
name
- The name of the forum to be created, such as "Wish List".
Must not be null, must not be empty.description
- One-line description of the forum. Must not be null.
JNForum
object that
represents the forum that was created.
ProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |