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)
SystemConfigurationQuery
id
in interface SystemConfigurationQuery
public SystemConfigurationQuery type(String type)
SystemConfigurationQuery
type
in interface SystemConfigurationQuery
public SystemConfigurationQuery types(Collection<String> types)
SystemConfigurationQuery
types
in interface SystemConfigurationQuery
public SystemConfigurationQuery nodeName(String nodeName)
SystemConfigurationQuery
nodeName
in interface SystemConfigurationQuery
public SystemConfigurationQuery nodeNames(Collection<String> nodeNames)
SystemConfigurationQuery
nodeNames
in interface SystemConfigurationQuery
public SystemConfigurationQuery lastUpdatedAfter(Date lastUpdatedTime)
SystemConfigurationQuery
lastUpdatedAfter
in interface SystemConfigurationQuery
public SystemConfiguration singleResult()
SystemConfigurationQuery
SystemConfiguration
.singleResult
in interface SystemConfigurationQuery
public List<SystemConfiguration> list()
SystemConfigurationQuery
SystemConfiguration
(s).list
in interface SystemConfigurationQuery
protected SystemConfiguration asSystemConfiguration(ConfigurationProperty property)
protected com.fasterxml.jackson.databind.node.ObjectNode convertToConfigurationValue(String value)