public class WikiManager
extends java.lang.Object
Obtain it via RedmineManager:
RedmineManager redmineManager = RedmineManagerFactory.createWithUserAuth(redmineURI, login, password); WikiManager wikiManager = redmineManager.getWikiManager();
Sample usage:
String projectKey = "projkey1410979585758"; wikiPages = manager.getWikiPagesByProject(projectKey);
RedmineManager
Modifier and Type | Method and Description |
---|---|
WikiPageDetail |
getWikiPageDetailByProjectAndTitle(java.lang.String projectKey,
java.lang.String pageTitle) |
java.util.List<WikiPage> |
getWikiPagesByProject(java.lang.String projectKey) |
public java.util.List<WikiPage> getWikiPagesByProject(java.lang.String projectKey) throws RedmineException
projectKey
- the key of the project (like "TEST-12") we want the wiki pages fromRedmineException
public WikiPageDetail getWikiPageDetailByProjectAndTitle(java.lang.String projectKey, java.lang.String pageTitle) throws RedmineException
projectKey
- the key of the project (like "TEST-12") we want the wiki page frompageTitle
- The name of the pageRedmineException