public class EnvValueQuery
extends OwnerQuery
| Constructor and Description | 
|---|
| EnvValueQuery(java.util.Set<java.lang.String> resourceTypes, java.util.Set<java.lang.String> envValueTypes, java.util.Set<Ref> refsToSearch, boolean includeOnlyModifiedResources, java.lang.String searchString, boolean isCompleteMatch)Constuctor for creating a query for finding env values that conform to a particular criteria as constituted by the parameters given. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<java.lang.String> | getEnvValueTypes() | 
| java.lang.String | getSearchString() | 
| boolean | isCompleteMatch() | 
| boolean | isIncludeOnlyModifiedResources() | 
| boolean | matches(QualifiedEnvValue envValue)Checks if the given  QualifiedEnvValueobject matches the query Use the values in the QualifiedEnvValue object to check if it is a match of the query. | 
public EnvValueQuery(java.util.Set<java.lang.String> resourceTypes,
             java.util.Set<java.lang.String> envValueTypes,
             java.util.Set<Ref> refsToSearch,
             boolean includeOnlyModifiedResources,
             java.lang.String searchString,
             boolean isCompleteMatch)
resourceTypes - Types of resources to consider. if null the search is performed accross all resource types.envValueTypes - Types of environment values to consider. if null the search is performed accross all env value types.refsToSearch - references to projects, folders or resources to consider. All project and folder references are expanded into resources that are in those projects / folders. This set can contain a mixture of projects/ folders and resources. If the value is null, the search is performed on all the resources subject to other search criteria.includeOnlyModifiedResources - only include resources that are actually modified in the session. This flag can be useful when importing new configuration into a domain, and only the newly imported data needs to be modified.searchString - return only env values that contain this string. A null value matches any environment value.isCompleteMatch - whether the searchString is a complete match (equals) or a partial match (contains)public boolean matches(QualifiedEnvValue envValue)
QualifiedEnvValue object matches the query Use the values in the QualifiedEnvValue object to check if it is a match of the query. This method doesn't take includeOnlyModifiedResources flag into account.envValue -public java.util.Set<java.lang.String> getEnvValueTypes()
public boolean isIncludeOnlyModifiedResources()
public java.lang.String getSearchString()
public boolean isCompleteMatch()