| Package | Description |
|---|---|
| com.embotics.vlm.rest.v30.client |
| Modifier and Type | Method and Description |
|---|---|
static ClientUtils.RestFilterOperator |
ClientUtils.RestFilterOperator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientUtils.RestFilterOperator[] |
ClientUtils.RestFilterOperator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ClientUtils.buildFilter(String left,
ClientUtils.RestFilterOperator operator,
String right)
Helper that builds a filter for RESTv3 collections
Filters follow a pattern like:
GET /rest/v3/workflows?filter=name -eq myWorkflow
GET /rest/v3/workflows?filter=(name -eq myWorkflow) -and (type -eq COMMAND)
About the filter grammar:
- operators need to be prefixed with -
- operator and operands within a filter are delimited by " "
- multiple filters are delimited by ()
|
Copyright © 2016–2018. All rights reserved.