org.bsc.maven.plugin.confluence
Class ConfluenceUtils
java.lang.Object
org.bsc.maven.plugin.confluence.ConfluenceUtils
public class ConfluenceUtils
- extends java.lang.Object
- Author:
- Sorrentino
|
Method Summary |
static boolean |
addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
java.io.File source)
|
static void |
addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
java.io.InputStream source)
|
static java.lang.String |
decode(java.lang.String value)
|
static java.lang.String |
encodeAnchor(java.lang.String value)
|
static org.codehaus.swizzle.confluence.PageSummary |
findPageByTitle(Confluence confluence,
java.lang.String parentPageId,
java.lang.String title)
|
static org.codehaus.swizzle.confluence.Page |
getOrCreatePage(Confluence confluence,
org.codehaus.swizzle.confluence.Page parentPage,
java.lang.String title)
|
static org.codehaus.swizzle.confluence.Page |
getOrCreatePage(Confluence confluence,
java.lang.String spaceKey,
java.lang.String parentPageTitle,
java.lang.String title)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceUtils
public ConfluenceUtils()
decode
public static java.lang.String decode(java.lang.String value)
- Parameters:
value -
- Returns:
encodeAnchor
public static java.lang.String encodeAnchor(java.lang.String value)
- Parameters:
value -
- Returns:
findPageByTitle
public static org.codehaus.swizzle.confluence.PageSummary findPageByTitle(Confluence confluence,
java.lang.String parentPageId,
java.lang.String title)
throws java.lang.Exception
- Parameters:
parentPageId - title -
- Returns:
-
- Throws:
java.lang.Exception
getOrCreatePage
public static org.codehaus.swizzle.confluence.Page getOrCreatePage(Confluence confluence,
java.lang.String spaceKey,
java.lang.String parentPageTitle,
java.lang.String title)
throws java.lang.Exception
- Parameters:
confluence - parentPageId - title -
- Returns:
-
- Throws:
java.lang.Exception
getOrCreatePage
public static org.codehaus.swizzle.confluence.Page getOrCreatePage(Confluence confluence,
org.codehaus.swizzle.confluence.Page parentPage,
java.lang.String title)
throws java.lang.Exception
- Parameters:
confluence - parentPage - title -
- Returns:
-
- Throws:
java.lang.Exception
addAttchment
public static boolean addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
java.io.File source)
throws java.lang.Exception
- Throws:
java.lang.Exception
addAttchment
public static void addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
java.io.InputStream source)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.