public class LoadosophiaAPIClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COLOR_NONE |
static String[] |
colors |
static int |
STATUS_DONE |
static int |
STATUS_ERROR |
| Constructor and Description |
|---|
LoadosophiaAPIClient(StatusNotifierCallback informer,
String aAddress,
String aToken,
String projectName,
String aColorFlag,
String aTitle) |
| Modifier and Type | Method and Description |
|---|---|
void |
endOnline(String redirectLink) |
protected net.sf.json.JSON |
query(org.apache.http.client.methods.HttpRequestBase request,
int expectedCode) |
LoadosophiaUploadResults |
sendFiles(File targetFile,
LinkedList<String> perfMonFiles) |
void |
sendOnlineData(net.sf.json.JSONArray data) |
String |
startOnline() |
public static final String COLOR_NONE
public static final String[] colors
public static final int STATUS_DONE
public static final int STATUS_ERROR
public LoadosophiaUploadResults sendFiles(File targetFile, LinkedList<String> perfMonFiles) throws IOException
IOExceptionpublic String startOnline() throws IOException
IOExceptionpublic void sendOnlineData(net.sf.json.JSONArray data)
throws IOException
IOExceptionpublic void endOnline(String redirectLink) throws IOException
IOExceptionprotected net.sf.json.JSON query(org.apache.http.client.methods.HttpRequestBase request,
int expectedCode)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.