public class InvokeStatistcsJavascriptBuilder extends Object
| Constructor and Description |
|---|
InvokeStatistcsJavascriptBuilder(String trackingID,
String ipAddress,
String gatewayPort)
Creates a new InvokeStatistcsJavascriptBuilder object and build content for invokeStatistcs.js
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildInvokeStaticsJavascriptFile(String filePath)
This method is used to write a java script file with tracking id in web application
|
public InvokeStatistcsJavascriptBuilder(String trackingID, String ipAddress, String gatewayPort)
trackingID - trackingID of the web applicationipAddress - ipAddress of the usergatewayPort - gateway port of the serverpublic void buildInvokeStaticsJavascriptFile(String filePath) throws IOException, InterruptedException
filePath - file pathe of the web applicationIOException - Throws this when failed to write java script fileInterruptedException - Throws this when thread failed to sleepCopyright © 2017 WSO2. All rights reserved.