Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


com.bea.wli.config.env
Class EnvValueQuery

java.lang.Object
  extended by com.bea.wli.config.env.EnvValueQuery

All Implemented Interfaces:
java.io.Serializable

public class EnvValueQuery
extends java.lang.Object
implements java.io.Serializable

Represents a query to find environnment values embedded in resource data, based on a criteria.

See Also:
Serialized Form

Constructor Summary
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.

 

Method Summary
 java.util.Set<java.lang.String> getEnvValueTypes()
           
 java.util.Set<Ref> getRefsToSearch()
           
 java.util.Set<java.lang.String> getResourceTypes()
           
 java.lang.String getSearchString()
           
 boolean isCompleteMatch()
           
 boolean isIncludeOnlyModifiedResources()
           
 boolean matches(QualifiedEnvValue envValue)
          Checks if the given QualifiedEnvValue object matches the query Use the values in the QualifiedEnvValue object to check if it is a match of the query.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EnvValueQuery

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

Method Detail

matches

public boolean matches(QualifiedEnvValue envValue)
Checks if the given 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.
Parameters:
envValue -
Returns:
boolean

getResourceTypes

public java.util.Set<java.lang.String> getResourceTypes()

getEnvValueTypes

public java.util.Set<java.lang.String> getEnvValueTypes()

getRefsToSearch

public java.util.Set<Ref> getRefsToSearch()

isIncludeOnlyModifiedResources

public boolean isIncludeOnlyModifiedResources()

getSearchString

public java.lang.String getSearchString()

isCompleteMatch

public boolean isCompleteMatch()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


Copyright © 2008, 2012, Oracle. All rights reserved.