public class SystemConfigurationQueryImpl extends Object implements SystemConfigurationQuery
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected ConfigurationPropertyQuery |
query |
| Constructor and Description |
|---|
SystemConfigurationQueryImpl(ConfigurationPropertyQuery query,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected SystemConfiguration |
asSystemConfiguration(ConfigurationProperty property) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
convertToConfigurationValue(String value) |
SystemConfigurationQuery |
id(String id)
Query for system configurations with the given id.
|
SystemConfigurationQuery |
lastUpdatedAfter(Date lastUpdatedTime)
Query for system configurations updated after the given date
|
List<SystemConfiguration> |
list()
Return a list of
SystemConfiguration(s). |
SystemConfigurationQuery |
nodeName(String nodeName)
Query for system configurations with the given node name
|
SystemConfigurationQuery |
nodeNames(Collection<String> nodeNames)
Query for system configurations with the given node names
|
SystemConfiguration |
singleResult()
Return a single
SystemConfiguration. |
SystemConfigurationQuery |
type(String type)
Query for system configurations with the given type.
|
SystemConfigurationQuery |
types(Collection<String> types)
Query for system configurations with the given types.
|
protected final ConfigurationPropertyQuery query
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public SystemConfigurationQueryImpl(ConfigurationPropertyQuery query, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public SystemConfigurationQuery id(String id)
SystemConfigurationQueryid in interface SystemConfigurationQuerypublic SystemConfigurationQuery type(String type)
SystemConfigurationQuerytype in interface SystemConfigurationQuerypublic SystemConfigurationQuery types(Collection<String> types)
SystemConfigurationQuerytypes in interface SystemConfigurationQuerypublic SystemConfigurationQuery nodeName(String nodeName)
SystemConfigurationQuerynodeName in interface SystemConfigurationQuerypublic SystemConfigurationQuery nodeNames(Collection<String> nodeNames)
SystemConfigurationQuerynodeNames in interface SystemConfigurationQuerypublic SystemConfigurationQuery lastUpdatedAfter(Date lastUpdatedTime)
SystemConfigurationQuerylastUpdatedAfter in interface SystemConfigurationQuerypublic SystemConfiguration singleResult()
SystemConfigurationQuerySystemConfiguration.singleResult in interface SystemConfigurationQuerypublic List<SystemConfiguration> list()
SystemConfigurationQuerySystemConfiguration(s).list in interface SystemConfigurationQueryprotected SystemConfiguration asSystemConfiguration(ConfigurationProperty property)
protected com.fasterxml.jackson.databind.node.ObjectNode convertToConfigurationValue(String value)