public abstract class Customization
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
abstract Customization |
clone(java.util.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.
|
static Customization |
fromXML(XmlObject xml)
Converts the given xml representation of a customization into the Customization object.
|
java.lang.String |
getDescription()
Returns the user given description for this customization
|
abstract java.util.Set<Ref> |
getTargets()
Returns the references to resources, folders or projects which the customizations will be applied to.
|
abstract XmlObject |
toXML()
Returns an xml representation for this customization
|
static void |
toXML(java.util.List<Customization> customizations, java.io.OutputStream os)
converts the give list of customization into an xml form and serializes to the given stream.
|
public static final long serialVersionUID
public java.lang.String getDescription()
public abstract java.util.Set<Ref> getTargets()
public abstract Customization clone(java.util.Set<Ref> filter)
filter
- if filter is null no narrowing is performed, and the customization is cloned as-is.public abstract XmlObject toXML() throws XmlException
XmlException
public static Customization fromXML(XmlObject xml)
xml
-public static void toXML(java.util.List<Customization> customizations, java.io.OutputStream os) throws java.io.IOException, XmlException
customizations
-os
-java.io.IOException
XmlException