org.wso2.carbon.appfactory.jenkins.build.notify
Class BuildStatusReceiverClient

java.lang.Object
  extended by org.wso2.carbon.appfactory.jenkins.build.notify.BuildStatusReceiverClient

public class BuildStatusReceiverClient
extends Object

The client for notify the build status of an application to the BuildStatusReceiverService


Constructor Summary
BuildStatusReceiverClient(String epr, String username, String password)
          constructor for BuildStatusReceiverClient
 
Method Summary
 void onBuildCompletion(org.wso2.carbon.appfactory.build.stub.xsd.BuildStatusBean buildStatus, String tenantUserName)
          This method will be executed when a build is completed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStatusReceiverClient

public BuildStatusReceiverClient(String epr,
                                 String username,
                                 String password)
constructor for BuildStatusReceiverClient

Parameters:
epr - end point reference of the service
username - admin user name
password - admin password
Throws:
org.apache.axis2.AxisFault
Method Detail

onBuildCompletion

public void onBuildCompletion(org.wso2.carbon.appfactory.build.stub.xsd.BuildStatusBean buildStatus,
                              String tenantUserName)
This method will be executed when a build is completed

Parameters:
buildStatus - status of the build
tenantUserName - user name of tenant


Copyright © 2015 WSO2 Inc. All rights reserved.