public interface PropertiesToQuery
Modifier and Type | Method and Description |
---|---|
PropertiesToQuery |
addKeyProperties()
Sets to retrieve the key properties of CIs and relations.
|
PropertiesToQuery |
addProperties(String... names)
Adds the specified properties to the list of properties to query.
|
PropertiesToQuery |
addPropertiesWithQualifier(String qualifierName)
Sets to retrieve all properties having the specified qualifier.
|
PropertiesToQuery |
addProperty(String name)
Adds the named property to the list of properties to query.
|
Collection<String> |
excludedProperties()
Returns the collection of properties to exclude.
|
PropertiesToQuery |
excludeProperties(String... names)
Adds the properties to the list of exclusions.
|
PropertiesToQuery |
excludeProperty(String name)
Adds the property name to the list of exclusions.
|
boolean |
isEmpty()
Returns true if the request is empty (no property is to be brought).
|
Collection<String> |
namedProperties()
Returns the list of properties names added to the properties request.
|
PropertiesCarrierBehavior |
propertiesCarrierBehavior()
Returns the behavior that will effect this "level".
|
Collection<String> |
qualifierMarkedProperties()
Returns the list of qualifiers added to the properties request.
|
boolean |
shouldQueryConcreteProperties()
Return true if concrete properties were added to result.
|
boolean |
shouldQueryConcretePropertiesAggregated()
Return true if concrete aggregated properties were added to result.
|
PropertiesToQuery |
withPropertiesCarrierBehavior(PropertiesCarrierBehavior newBehavior)
Sets the behavior for this level.
|
PropertiesToQuery addProperty(String name)
name
- name of a propertyPropertiesToQuery addProperties(String... names)
names
- the names of the properties to add.PropertiesToQuery addKeyProperties()
PropertiesToQuery addPropertiesWithQualifier(String qualifierName)
qualifierName
- Collection<String> qualifierMarkedProperties()
Collection<String> namedProperties()
boolean isEmpty()
PropertiesCarrierBehavior propertiesCarrierBehavior()
PropertiesCarrierBehavior
for possible behaviors.PropertiesToQuery withPropertiesCarrierBehavior(PropertiesCarrierBehavior newBehavior)
PropertiesCarrierBehavior
for possible behaviors.newBehavior
- the new behavior.PropertiesToQuery excludeProperty(String name)
name
- the property to exclude.PropertiesToQuery excludeProperties(String... names)
names
- the properties to exclude.Collection<String> excludedProperties()
boolean shouldQueryConcreteProperties()
QueryNode.queryConcreteProperties()
boolean shouldQueryConcretePropertiesAggregated()
()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.