|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HPALMMojoDAOI
HPALMMavenPlugin Data Access Object interface. An implementation of this interface should provide API that allows to execute remote commands on Confluence and HP ALM servers.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 options
org.apache.xmlrpc.XmlRpcException
HashMap<Object,Object> getConfluencePage(Object cookie,
String confluencePageID)
throws org.apache.xmlrpc.XmlRpcException
cookie - Confluence session authentication objectconfluencePageID - CID of Confluence page to retrieve
org.apache.xmlrpc.XmlRpcException
Object authenticateToConfluence(String confleunceUser,
String confluencePassword)
throws org.apache.xmlrpc.XmlRpcException
confleunceUser - Confluence userconfluencePassword - Confluence password
org.apache.xmlrpc.XmlRpcException
void initializeXmlRpcClient(String confluenceServer)
throws MalformedURLException
confluenceServer - Confluence address
MalformedURLException
String 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 file
org.apache.maven.plugin.MojoFailureException - if server responded with code different than 200
String 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 file
org.apache.maven.plugin.MojoFailureException - if server responded with code different than 200
String authenticateToHPALM(String targetURL,
String username,
String password)
throws org.apache.maven.plugin.MojoFailureException
targetURL - - target to authenticate tousername - - HP ALM userpassword - - HP ALM password
org.apache.maven.plugin.MojoFailureException - if server responded with code different than 200
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||