public class JobsClient extends CQClient
CQClient.Builder, CQClient.InternalBuilder<T extends CQClient>
Modifier and Type | Field and Description |
---|---|
static String |
QE_JOBS_ALL_PATH |
static String |
QE_JOBS_ALL_SELECTOR |
static String |
QE_JOBS_JSON_EXTENSION |
static String |
QE_JOBS_SERVLET_PATH |
static String |
QE_QUEUES_ALL_PATH |
static String |
QE_QUEUES_SERVLET_PATH |
LOG, STATISTICS_ROOT, wcmCommands
Constructor and Description |
---|
JobsClient(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.sling.testing.clients.SlingClientConfig config) |
JobsClient(URI serverUrl,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
JobsList |
getJobs(String topic)
Get a list of active and queued jobs for a specific topic
|
JobsStatistics |
getJobsStatistics()
Provides a
JobsStatistics object to describe all the current jobs statistics |
copyLanguages, copyPage, createPage, createPageWithRetry, createVersion, deletePage, deletePageWithRetry, lockPage, movePage, movePage, resetPageStatistics, restoreTree, restoreVersion, rolloutPage, searchAndReplaceInPages, searchInPages, setPageProperties, setPageProperty, setPagePropertyImage, unlockPage, uploadAsset, uploadFileCQStyle
createFolder, createNode, createNodeRecursive, deletePath, doGetJson, exists, getJsonNode, getJsonNode, getNodeNameFromPath, getParentPath, getUUId, getUUID, importContent, importContent, importJson, move, setPropertiesString, setPropertyString, setPropertyStringArray, upload, waitExists, waitUntilExists
adaptTo, addValue, close, doDelete, doGet, doGet, doGet, doHead, doPatch, doPost, doPost, doPut, doRawRequest, doRequest, doStreamGet, doStreamPost, doStreamRequest, execute, execute, execute, execute, execute, execute, execute, execute, getClientId, getConnectionManager, getCookieStore, getCredentialsProvider, getParams, getPassword, getPath, getPath, getUrl, getUrl, getUrl, getUser, getValue, getValues, hasValue
public static final String QE_QUEUES_SERVLET_PATH
public static final String QE_JOBS_SERVLET_PATH
public static final String QE_JOBS_ALL_SELECTOR
public static final String QE_JOBS_JSON_EXTENSION
public static final String QE_QUEUES_ALL_PATH
public static final String QE_JOBS_ALL_PATH
public JobsClient(org.apache.http.impl.client.CloseableHttpClient http, org.apache.sling.testing.clients.SlingClientConfig config) throws org.apache.sling.testing.clients.ClientException
org.apache.sling.testing.clients.ClientException
public JobsStatistics getJobsStatistics() throws org.apache.sling.testing.clients.ClientException
JobsStatistics
object to describe all the current jobs statisticsorg.apache.sling.testing.clients.ClientException
- if the HTTP call failspublic JobsList getJobs(String topic) throws org.apache.sling.testing.clients.ClientException
topic
- the topic to filter jobsorg.apache.sling.testing.clients.ClientException
- if the call to the quickstart failsCopyright © 2018. All rights reserved.