public class CompositeTransform extends Transform
| Constructor and Description |
|---|
CompositeTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Transform component) |
protected void |
copyInternalState(ExtensionBean bean,
java.util.Map<java.lang.String,ExtensionBean> context)
Copies internal subclass state as part of creating a copy of this bean.
|
TransformContext[] |
createContexts(Violation violation)
Creates the transform contexts for this transform, or null or an empty
array if the contexts cannot be created.
|
java.util.Collection<Transform> |
getComponents() |
adapter, boundLabel, condition, definition, isEnabled, setEnabled, unboundLabeladdPropertyChangeListener, addPropertyChangeListener, createCopy, description, equals, extensionId, extensionLine, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, formattedString, formattedString, formattedString, hashCode, id, label, logError, logError, logWarning, name, propertyDescription, propertyLabel, removePropertyChangeListener, removePropertyChangeListener, setters, stringpublic void addComponent(Transform component)
protected void copyInternalState(ExtensionBean bean, java.util.Map<java.lang.String,ExtensionBean> context) throws java.lang.reflect.InvocationTargetException
ExtensionBeancopyInternalState in class Transformbean - The partially initialized copy.context - A map which allows subclasses to preserve object identity
when copying a graph of extension beans.java.lang.reflect.InvocationTargetExceptionExtensionBean.createCopy(java.util.Map<java.lang.String, oracle.jdeveloper.audit.extension.ExtensionBean>)public java.util.Collection<Transform> getComponents()
public TransformContext[] createContexts(Violation violation)
Transform
The default Transform implementation invokes the
TransformAdapter.createContext(oracle.jdeveloper.audit.transform.Transform, oracle.jdeveloper.audit.service.Violation, oracle.jdeveloper.audit.model.Location) method of its transform adapter to
create a context for this transform at the violation location, i.e.:
adapter().createContext(this, violation, violation.getLocation())
A transform can override this method to delegate to a different transform at a different location, or this transform at several locations, etcetera. The Audit framework will aggregate the transform isApplicable, query, and apply methods.
createContexts in class Transform