|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.config.customization.Customization
com.bea.wli.config.customization.FindAndReplaceCustomization
public class FindAndReplaceCustomization
Customization for modifying environment values by doing string substitutions.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
FindAndReplaceCustomization(String description,
EnvValueQuery query,
String replacement)
Constructor for creating a find-and-replace customization |
Method Summary | |
---|---|
Customization |
clone(Set<Ref> filter)
Returns a copy of this customization and optionally modifies its target references so that the customization only applies to a reference if it is subsumed by a reference in the filter. |
EnvValueQuery |
getQuery()
|
String |
getReplacement()
|
Set<Ref> |
getTargets()
Returns the references to resources, folders or projects which the customizations will be applied to. |
org.apache.xmlbeans.XmlObject |
toXML()
Returns an xml representation for this customization |
Methods inherited from class com.bea.wli.config.customization.Customization |
---|
fromXML, fromXML, getDescription, toXML |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public FindAndReplaceCustomization(String description, EnvValueQuery query, String replacement)
query
- the query that indicates which env values to finddescription
- the user given description for this customizationreplacement
- the replacement text. This text will be substituted for the env
value pattern given in the query.Method Detail |
---|
public EnvValueQuery getQuery()
public String getReplacement()
public Set<Ref> getTargets()
Customization
getTargets
in class Customization
public org.apache.xmlbeans.XmlObject toXML() throws org.apache.xmlbeans.XmlException
Customization
toXML
in class Customization
org.apache.xmlbeans.XmlException
public Customization clone(Set<Ref> filter)
Customization
clone
in class Customization
filter
- if filter is null no narrowing is performed, and the customization is cloned as-is.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |