public class MberClient extends Object
| Constructor and Description |
|---|
MberClient(net.sf.json.JSONObject json) |
MberClient(String url,
String application) |
| Modifier and Type | Method and Description |
|---|---|
static String |
baseUrlWithPath(String url,
String path) |
net.sf.json.JSONObject |
download(hudson.FilePath path,
String documentAliasOrUUID,
boolean showProgress) |
net.sf.json.JSONObject |
findDocumentsWithTags(String[] tags) |
static String |
generateTransactionId() |
String |
getAccessToken() |
String |
getApplication() |
String |
getApplicationId() |
net.sf.json.JSONObject |
getBuildCountSince(String name,
Date startDate) |
List<HTTParty.Call> |
getCallHistory() |
hudson.model.BuildListener |
getListener() |
String |
getURL() |
static boolean |
isMberURL(String url) |
net.sf.json.JSONObject |
link(hudson.FilePath path,
String directory,
String name,
String[] tags,
boolean overwrite) |
net.sf.json.JSONObject |
login(String username,
String password) |
net.sf.json.JSONObject |
mkbuild(int number,
String description,
String alias) |
net.sf.json.JSONObject |
mkbuild(String name,
String description,
String alias,
BuildStatus... statuses) |
net.sf.json.JSONObject |
mkpath(String path) |
net.sf.json.JSONObject |
mkproject(String name,
String description) |
net.sf.json.JSONObject |
publishTestResults(net.sf.json.JSONObject json) |
net.sf.json.JSONObject |
readDocument(String documentAliasOrUUID) |
String |
resolveAliasOrUUID(String value) |
net.sf.json.JSONObject |
setBuildDirectory(String directoryId) |
void |
setListener(hudson.model.BuildListener listener) |
net.sf.json.JSONObject |
toJSON() |
net.sf.json.JSONObject |
updateBuild(String name,
String description,
BuildStatus... statuses) |
net.sf.json.JSONObject |
upload(hudson.FilePath path,
String directory,
String name,
String[] tags,
boolean overwrite) |
net.sf.json.JSONObject |
upload(net.sf.json.JSONObject content,
String directory,
String name,
String[] tags) |
net.sf.json.JSONObject |
upload(String path,
String directory,
String name,
String[] tags,
boolean overwrite) |
public static boolean isMberURL(String url)
public static String baseUrlWithPath(String url, String path) throws MalformedURLException
MalformedURLExceptionpublic net.sf.json.JSONObject toJSON()
public void setListener(hudson.model.BuildListener listener)
public hudson.model.BuildListener getListener()
public String getURL()
public String getApplication()
public net.sf.json.JSONObject link(hudson.FilePath path,
String directory,
String name,
String[] tags,
boolean overwrite)
public net.sf.json.JSONObject upload(String path, String directory, String name, String[] tags, boolean overwrite)
public net.sf.json.JSONObject upload(hudson.FilePath path,
String directory,
String name,
String[] tags,
boolean overwrite)
public net.sf.json.JSONObject upload(net.sf.json.JSONObject content,
String directory,
String name,
String[] tags)
public net.sf.json.JSONObject publishTestResults(net.sf.json.JSONObject json)
public net.sf.json.JSONObject mkpath(String path)
public net.sf.json.JSONObject mkbuild(String name, String description, String alias, BuildStatus... statuses)
public net.sf.json.JSONObject updateBuild(String name, String description, BuildStatus... statuses)
public net.sf.json.JSONObject setBuildDirectory(String directoryId)
public net.sf.json.JSONObject findDocumentsWithTags(String[] tags)
public net.sf.json.JSONObject download(hudson.FilePath path,
String documentAliasOrUUID,
boolean showProgress)
public net.sf.json.JSONObject readDocument(String documentAliasOrUUID)
public static String generateTransactionId()
public String getApplicationId()
public List<HTTParty.Call> getCallHistory()
public String getAccessToken()
Copyright © 2004-2015. All Rights Reserved.