com.bea.wli.config.env
Class EnvValueQuery
java.lang.Object
   com.bea.wli.config.env.EnvValueQuery
com.bea.wli.config.env.EnvValueQuery
- All Implemented Interfaces: 
- Serializable
- public class EnvValueQuery 
- extends Object- implements Serializable
Represents a query to find envrinment values embedded in resource data, based on a criteria.
- See Also:
- Serialized Form
| Constructor Summary | 
| EnvValueQuery(Set<String> resourceTypes,
              Set<String> envValueTypes,
              Set<Ref> refsToSearch,
              boolean includeOnlyModifiedResources,
              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.
 | 
 
 
 
EnvValueQuery
public EnvValueQuery(Set<String> resourceTypes,
                     Set<String> envValueTypes,
                     Set<Ref> refsToSearch,
                     boolean includeOnlyModifiedResources,
                     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.
 
- Parameters:
- 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)
 
matches
public 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.
 This method doesn't take includeOnlyModifiedResources flag into account.
 
- 
 
- 
- Parameters:
- envValue-
- Returns:
- boolean
 
getResourceTypes
public Set<String> getResourceTypes()
- 
 
- 
 
getEnvValueTypes
public Set<String> getEnvValueTypes()
- 
 
- 
 
getRefsToSearch
public Set<Ref> getRefsToSearch()
- 
 
- 
 
isIncludeOnlyModifiedResources
public boolean isIncludeOnlyModifiedResources()
- 
 
- 
 
getSearchString
public String getSearchString()
- 
 
- 
 
isCompleteMatch
public boolean isCompleteMatch()
- 
 
-