com.bea.wli.config.env
Class EnvValueQuery

java.lang.Object
  extended by 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.
 
Method Summary
 Set<String> getEnvValueTypes()
           
 Set<Ref> getRefsToSearch()
           
 Set<String> getResourceTypes()
           
 String getSearchString()
           
 boolean isCompleteMatch()
           
 boolean isIncludeOnlyModifiedResources()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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. See TypeIds for possible values of type Ids.
envValueTypes - Types of environment values to consider. if null the search is performed accross all env value types. See EnvValueTypes for possible values of environment 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)
Method Detail

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()