|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.HTTPPublisher
Used to execute an HTTP request
| Constructor Summary | |
HTTPPublisher()
|
|
| Method Summary | |
NamedXPathAwareChild |
createParameter()
An HTTP request attribute-value parameter pair, represented by a NamedXPathAwareChild to provide for dymanic parameter value resolution from the either the cruisecontrol log or other file. |
void |
publish(org.jdom.Element cruisecontrolLog)
Publish the results to a URL. |
void |
setRequestMethod(java.lang.String requestMethod)
Method to specify the HTTP Request method to use for this request |
void |
setUrl(java.lang.String url)
Method to specify the URL used to publish the build result |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPPublisher()
| Method Detail |
public void publish(org.jdom.Element cruisecontrolLog)
throws CruiseControlException
publish in interface PublishercruisecontrolLog - of the current build
CruiseControlException - - on any error
public void validate()
throws CruiseControlException
validate in interface PublisherCruiseControlException - if there was a configuration error.public void setUrl(java.lang.String url)
url - URL to which to publish build resultpublic void setRequestMethod(java.lang.String requestMethod)
requestMethod - String representing the HTTP Request methodpublic NamedXPathAwareChild createParameter()
NamedXPathAwareChild
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||