public class ReferenceCustomization extends Customization
| Modifier and Type | Field and Description | 
|---|---|
static long | 
serialVersionUID  | 
| Constructor and Description | 
|---|
ReferenceCustomization(Set<Ref> targets, String description, Map<Ref,Ref> mapping)
Deprecated. 
 
Use ReferenceCustomization(String, Set<Ref>, Map<Ref, Ref>) instead 
 | 
ReferenceCustomization(String description, Set<Ref> targets, Map<Ref,Ref> mapping)
Creates a customization for changing/mapping references embedded in a set of resources 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
Map<Ref,Ref> | 
getMapping()
Returns the reference mapping to be applied. 
 | 
Set<Ref> | 
getTargets()
Returns the references to resources, folders or projects which the customizations will be applied to. 
 | 
CustomizationType | 
toXML()
Returns an xml representation for this customization 
 | 
fromXML, fromXML, fromXML, getDescription, toXML, toXMLpublic static final long serialVersionUID
@Deprecated public ReferenceCustomization(Set<Ref> targets, String description, Map<Ref,Ref> mapping)
public ReferenceCustomization(String description, Set<Ref> targets, Map<Ref,Ref> mapping)
description - the user given description for this customizationtargets - resources to consider. A null value indicates all resources. A project or folder resource indicates all resources in that project / folder.mapping - mapping from old references to be modified to their new valuespublic Set<Ref> getTargets()
CustomizationgetTargets in class Customizationpublic Map<Ref,Ref> getMapping()
public Customization clone(Set<Ref> filter)
Customizationclone in class Customizationfilter - if filter is null no narrowing is performed, and the customization is cloned as-is.
public CustomizationType toXML()
                        throws XmlException
CustomizationtoXML in class CustomizationXmlException