public interface HPALMMojoDAOI
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticateToConfluence(String confleunceUser,
String confluencePassword)
Authenticates to Confluence
|
String |
authenticateToHPALM(String targetURL,
String username,
String password)
Authenticate to HP ALM
|
HashMap<Object,Object> |
getConfluencePage(Object cookie,
String confluencePageID)
Retrieves Confluence page content
|
String |
getFromHPALM(String targetURL,
String cookie)
Get the content from target URL via GET method
|
void |
initializeXmlRpcClient(String confluenceServer)
Initialize XML RPC Client
|
String |
putToHPALM(String targetURL,
String urlParameters,
String cookie)
Send content to target URL via PUT method
|
void |
updateConfluencePage(Object cookie,
HashMap<Object,Object> page,
HashMap<Object,Object> pageUpdateOptions)
Update Confluence page with given content
|
void updateConfluencePage(Object cookie, HashMap<Object,Object> page, HashMap<Object,Object> pageUpdateOptions) throws org.apache.xmlrpc.XmlRpcException
cookie - Confluence session authentication objectpage - Confluence page contentpageUpdateOptions - Update optionsorg.apache.xmlrpc.XmlRpcExceptionHashMap<Object,Object> getConfluencePage(Object cookie, String confluencePageID) throws org.apache.xmlrpc.XmlRpcException
cookie - Confluence session authentication objectconfluencePageID - CID of Confluence page to retrieveorg.apache.xmlrpc.XmlRpcExceptionObject authenticateToConfluence(String confleunceUser, String confluencePassword) throws org.apache.xmlrpc.XmlRpcException
confleunceUser - Confluence userconfluencePassword - Confluence passwordorg.apache.xmlrpc.XmlRpcExceptionvoid initializeXmlRpcClient(String confluenceServer) throws MalformedURLException
confluenceServer - Confluence addressMalformedURLExceptionString putToHPALM(String targetURL, String urlParameters, String cookie) throws org.apache.maven.plugin.MojoFailureException
targetURL - - target to send the content tourlParameters - - the content to be sentcookie - - cookie to be set in Cookie header fileorg.apache.maven.plugin.MojoFailureException - if server responded with code different than 200String getFromHPALM(String targetURL, String cookie) throws org.apache.maven.plugin.MojoFailureException
targetURL - - target to get the content fromcookie - - cookie to be set in Cookie header fileorg.apache.maven.plugin.MojoFailureException - if server responded with code different than 200String authenticateToHPALM(String targetURL, String username, String password) throws org.apache.maven.plugin.MojoFailureException
targetURL - - target to authenticate tousername - - HP ALM userpassword - - HP ALM passwordorg.apache.maven.plugin.MojoFailureException - if server responded with code different than 200Copyright © 2015. All rights reserved.