public class SlickClientImpl extends Object implements SlickClient, ParentApiPart
Constructor and Description |
---|
SlickClientImpl(String baseUrl) |
SlickClientImpl(String baseUrl,
javax.ws.rs.client.Client restClient) |
Modifier and Type | Method and Description |
---|---|
RetrieveUpdateDeleteApi<Configuration> |
configuration(String idOrName)
Perform operations against a specific configuration.
|
QueryAndCreateApi<Configuration> |
configurations()
No filtering, retrieve all configurations.
|
QueryAndCreateApi<Configuration> |
configurations(Map<String,String> properties)
Filter based on properties of a configuration.
|
QueryAndCreateApi<Configuration> |
configurations(String query)
Filter the results based of a standard slick query.
|
QueryAndCreateApi<Configuration> |
configurations(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
QueryAndCreateApi<Configuration> |
configurations(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
FilesApi |
file(String id)
Access a specific stored file.
|
FilesQueryApi |
files()
Create and Upload a file to slick.
|
ParentApiPart |
getParent() |
SlickClient |
getSlickClient() |
javax.ws.rs.client.WebTarget |
getWebTarget() |
ProjectApi |
project(String idOrName)
Perform operations against a specific project.
|
QueryAndCreateApi<Project> |
projects()
No filtering, retrieve all projects.
|
QueryAndCreateApi<Project> |
projects(Map<String,String> properties)
Filter based on properties of a project.
|
QueryAndCreateApi<Project> |
projects(String query)
Filter the results based of a standard slick query.
|
QueryAndCreateApi<Project> |
projects(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
QueryAndCreateApi<Project> |
projects(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
ResultApi |
result(String idOrName)
Perform operations against a specific result.
|
ResultQueryApi |
results()
No filtering, retrieve all results.
|
ResultQueryApi |
results(Map<String,String> properties)
Filter based on properties of a result.
|
ResultQueryApi |
results(String query)
Filter the results based of a standard slick query.
|
ResultQueryApi |
results(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
ResultQueryApi |
results(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
RetrieveUpdateDeleteApi<Testcase> |
testcase(String idOrName)
Perform operations against a specific testcase.
|
QueryAndCreateApi<Testcase> |
testcases()
No filtering, retrieve all testcases.
|
QueryAndCreateApi<Testcase> |
testcases(Map<String,String> properties)
Filter based on properties of a testcase.
|
QueryAndCreateApi<Testcase> |
testcases(String query)
Filter the results based of a standard slick query.
|
QueryAndCreateApi<Testcase> |
testcases(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
QueryAndCreateApi<Testcase> |
testcases(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
RetrieveUpdateDeleteApi<TestPlan> |
testplan(String idOrName)
Perform operations against a specific testplan.
|
QueryAndCreateApi<TestPlan> |
testplans()
No filtering, retrieve all testplans.
|
QueryAndCreateApi<TestPlan> |
testplans(Map<String,String> properties)
Filter based on properties of a testplan.
|
QueryAndCreateApi<TestPlan> |
testplans(String query)
Filter the results based of a standard slick query.
|
QueryAndCreateApi<TestPlan> |
testplans(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
QueryAndCreateApi<TestPlan> |
testplans(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
RetrieveUpdateDeleteApi<Testrun> |
testrun(String idOrName)
Perform operations against a specific testrun.
|
QueryAndCreateApi<Testrun> |
testruns()
No filtering, retrieve all testruns.
|
QueryAndCreateApi<Testrun> |
testruns(Map<String,String> properties)
Filter based on properties of a testrun.
|
QueryAndCreateApi<Testrun> |
testruns(String query)
Filter the results based of a standard slick query.
|
QueryAndCreateApi<Testrun> |
testruns(String query,
String orderBy)
Filter the results based of a standard slick query, setting a property to order the results by.
|
QueryAndCreateApi<Testrun> |
testruns(String query,
String orderBy,
Integer limit,
Integer skip)
Filter the results based of a standard slick query, setting a property to order the results by.
|
public SlickClientImpl(String baseUrl, javax.ws.rs.client.Client restClient)
public SlickClientImpl(String baseUrl)
public QueryAndCreateApi<Project> projects()
SlickClient
projects
in interface SlickClient
public QueryAndCreateApi<Project> projects(Map<String,String> properties)
SlickClient
projects
in interface SlickClient
properties
- A map of properties and their values to filter the projects by.public QueryAndCreateApi<Project> projects(String query)
SlickClient
projects
in interface SlickClient
query
- The query to perform, using slick's generic query language.public QueryAndCreateApi<Project> projects(String query, String orderBy)
SlickClient
projects
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public QueryAndCreateApi<Project> projects(String query, String orderBy, Integer limit, Integer skip)
SlickClient
projects
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public ProjectApi project(String idOrName)
SlickClient
project
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the project.public QueryAndCreateApi<Configuration> configurations()
SlickClient
configurations
in interface SlickClient
public QueryAndCreateApi<Configuration> configurations(Map<String,String> properties)
SlickClient
configurations
in interface SlickClient
properties
- A map of properties and their values to filter the configurations by.public QueryAndCreateApi<Configuration> configurations(String query)
SlickClient
configurations
in interface SlickClient
query
- The query to perform, using slick's generic query language.public QueryAndCreateApi<Configuration> configurations(String query, String orderBy)
SlickClient
configurations
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public QueryAndCreateApi<Configuration> configurations(String query, String orderBy, Integer limit, Integer skip)
SlickClient
configurations
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public RetrieveUpdateDeleteApi<Configuration> configuration(String idOrName)
SlickClient
configuration
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the configuration.public ResultQueryApi results()
SlickClient
results
in interface SlickClient
public ResultQueryApi results(Map<String,String> properties)
SlickClient
results
in interface SlickClient
properties
- A map of properties and their values to filter the results by.public ResultQueryApi results(String query)
SlickClient
results
in interface SlickClient
query
- The query to perform, using slick's generic query language.public ResultQueryApi results(String query, String orderBy)
SlickClient
results
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public ResultQueryApi results(String query, String orderBy, Integer limit, Integer skip)
SlickClient
results
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public ResultApi result(String idOrName)
SlickClient
result
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the result.public QueryAndCreateApi<TestPlan> testplans()
SlickClient
testplans
in interface SlickClient
public QueryAndCreateApi<TestPlan> testplans(Map<String,String> properties)
SlickClient
testplans
in interface SlickClient
properties
- A map of properties and their values to filter the testplans by.public QueryAndCreateApi<TestPlan> testplans(String query)
SlickClient
testplans
in interface SlickClient
query
- The query to perform, using slick's generic query language.public QueryAndCreateApi<TestPlan> testplans(String query, String orderBy)
SlickClient
testplans
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public QueryAndCreateApi<TestPlan> testplans(String query, String orderBy, Integer limit, Integer skip)
SlickClient
testplans
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public RetrieveUpdateDeleteApi<TestPlan> testplan(String idOrName)
SlickClient
testplan
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the testplan.public QueryAndCreateApi<Testcase> testcases()
SlickClient
testcases
in interface SlickClient
public QueryAndCreateApi<Testcase> testcases(Map<String,String> properties)
SlickClient
testcases
in interface SlickClient
properties
- A map of properties and their values to filter the testcases by.public QueryAndCreateApi<Testcase> testcases(String query)
SlickClient
testcases
in interface SlickClient
query
- The query to perform, using slick's generic query language.public QueryAndCreateApi<Testcase> testcases(String query, String orderBy)
SlickClient
testcases
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public QueryAndCreateApi<Testcase> testcases(String query, String orderBy, Integer limit, Integer skip)
SlickClient
testcases
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public RetrieveUpdateDeleteApi<Testcase> testcase(String idOrName)
SlickClient
testcase
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the testcase.public FilesQueryApi files()
SlickClient
files
in interface SlickClient
public FilesApi file(String id)
SlickClient
file
in interface SlickClient
id
- The id of the StoredFile that you want to access.public QueryAndCreateApi<Testrun> testruns()
SlickClient
testruns
in interface SlickClient
public QueryAndCreateApi<Testrun> testruns(Map<String,String> properties)
SlickClient
testruns
in interface SlickClient
properties
- A map of properties and their values to filter the testruns by.public QueryAndCreateApi<Testrun> testruns(String query)
SlickClient
testruns
in interface SlickClient
query
- The query to perform, using slick's generic query language.public QueryAndCreateApi<Testrun> testruns(String query, String orderBy)
SlickClient
testruns
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.public QueryAndCreateApi<Testrun> testruns(String query, String orderBy, Integer limit, Integer skip)
SlickClient
testruns
in interface SlickClient
query
- The query to perform, using slick's generic query language.orderBy
- The name of the property to order the results by. Prefix with a '-' for descending order.limit
- The maximum number of results to return, or null for no limit.skip
- The number of results to skip (maintaining order), or null for no skip.public RetrieveUpdateDeleteApi<Testrun> testrun(String idOrName)
SlickClient
testrun
in interface SlickClient
idOrName
- The id (string representation of the BSON Object Id) or the name of the testrun.public javax.ws.rs.client.WebTarget getWebTarget() throws SlickError
getWebTarget
in interface ParentApiPart
SlickError
public ParentApiPart getParent()
getParent
in interface ParentApiPart
public SlickClient getSlickClient()
getSlickClient
in interface ParentApiPart
Copyright © 2015. All rights reserved.