public interface Changes
Modifier and Type | Method and Description |
---|---|
void |
binaryValueNoLongerUsed(BinaryKey key)
Signal that the binary with the given key is not longer used by any properties.
|
void |
binaryValueUsed(BinaryKey key)
Signal that the binary with the given key is being used by some properties.
|
void |
nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes)
Create an event signifying that something about the node (other than the properties or location) changed.
|
void |
nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node was created.
|
void |
nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath)
Signal that a node was moved from one parent to another, and may have also been renamed.
|
void |
nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Name parentPrimaryType,
Set<Name> parentMixinTypes)
Signal that a node was removed.
|
void |
nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was renamed (but still has the same parent)
|
void |
nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath)
Signal that a node was placed into a new location within the same parent.
|
void |
nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName)
Signal that a node was successfully sequenced.
|
void |
nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause)
Signal that a node was not sequenced successfully.
|
void |
propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was added to a node.
|
void |
propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty)
Signal that a property was changed on a node.
|
void |
propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was removed from a node.
|
void |
repositoryMetadataChanged()
Signal that the repository metadata has changed.
|
void |
workspaceAdded(String workspaceName)
Signal that a new workspace has been added.
|
void |
workspaceRemoved(String workspaceName)
Signal that a new workspace has been removed.
|
void workspaceAdded(String workspaceName)
workspaceName
- the name of the workspace; may not be nullvoid workspaceRemoved(String workspaceName)
workspaceName
- the name of the workspace; may not be nullvoid repositoryMetadataChanged()
void nodeCreated(NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Map<Name,Property> properties)
key
- the key for the new node; may not be nullparentKey
- the key for the parent of the new node; may not be nullpath
- the path to the new node; may not be nullprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullproperties
- the properties in the new node, or null if there are nonevoid nodeRemoved(NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Name parentPrimaryType, Set<Name> parentMixinTypes)
key
- the key for the removed node; may not be nullparentKey
- the key for the old parent of the removed node; may not be nullpath
- the path to the removed node; may not be nullprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullparentPrimaryType
- the primary type of the parent of the node; may be null if this information is not availableparentMixinTypes
- the mixin types of the parent of the node; may be null if this information is not availablevoid nodeRenamed(NodeKey key, Path newPath, Path.Segment oldName, Name primaryType, Set<Name> mixinTypes)
key
- the key for the node; may not be nullnewPath
- the new path for the node; may not be nulloldName
- the old name (including SNS index); may not be nullprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullvoid nodeMoved(NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey newParent, NodeKey oldParent, Path newPath, Path oldPath)
key
- the key for the node; may not be nullprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullnewParent
- the new parent for the node; may not be nulloldParent
- the old parent for the node; may not be nullnewPath
- the new path for the node after it has been moved; may not be nulloldPath
- the old path for the node before it was moved; may not be nullvoid nodeReordered(NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath)
key
- the key for the node; may not be nullprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullparent
- the key for the parent of the node; may not be nullnewPath
- the new path for the node after it has been reordered; may not be nulloldPath
- the old path for the node before it was reordered; may be null in the case of transient reorderingsreorderedBeforePath
- the path of the node before which the node was moved; or null if the node was reordered to thevoid nodeChanged(NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes)
key
- the node key; may not be nullpath
- the pathprimaryType
- the primary type of the node; may not be nullmixinTypes
- the mixin types of the node; may not be nullvoid nodeSequenced(NodeKey sequencedNodeKey, Path sequencedNodePath, Name sequencedNodePrimaryType, Set<Name> sequencedNodeMixinTypes, NodeKey outputNodeKey, Path outputNodePath, String outputPath, String userId, String selectedPath, String sequencerName)
sequencedNodeKey
- the key of the node that was used as input and sequenced; may not be nullsequencedNodePath
- the path of the node that was used as input and sequenced; may not be nullsequencedNodePrimaryType
- the primary type of the node that was used as input and sequenced; may not be nullsequencedNodeMixinTypes
- the mixin types of the node that was used as input and sequenced; may not be nulloutputNodeKey
- the key of the top-level node output by the sequencing operation; may not be nulloutputNodePath
- the path of the top-level node output by the sequencing operation; may not be nulloutputPath
- the string representation of the output path of the sequencing operationuserId
- the username of the session that generated the change that led to the sequencing operationselectedPath
- the string representation of the path that led to the sequencing operation (which may or may not be the
same as the sequenced node path); may not be nullsequencerName
- the name of the sequencer; may not be nullvoid nodeSequencingFailure(NodeKey sequencedNodeKey, Path sequencedNodePath, Name sequencedNodePrimaryType, Set<Name> sequencedNodeMixinTypes, String outputPath, String userId, String selectedPath, String sequencerName, Throwable cause)
sequencedNodeKey
- the key of the node that was used as input and sequenced; may not be nullsequencedNodePath
- the path of the node that was used as input and sequenced; may not be nullsequencedNodePrimaryType
- the primary type of the node that was used as input and sequenced; may not be nullsequencedNodeMixinTypes
- the mixin types of the node that was used as input and sequenced; may not be nulloutputPath
- the string representation of the output path of the sequencing operationuserId
- the username of the session that generated the change that led to the (failed) sequencing operationselectedPath
- the string representation of the path that led to the (failed) sequencing operation (which may or may
not be the same as the sequenced node path); may not be nullsequencerName
- the name of the sequencer; may not be nullcause
- the exception that caused the failure; may not be nullvoid propertyAdded(NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property)
key
- the key of the node that was changed; may not be nullnodePrimaryType
- the primary type of the node; may not be nullnodeMixinTypes
- the mixin types of the node; may not be nullnodePath
- the path of the node that was changedproperty
- the new property, with name and value(s); may not be nullvoid propertyRemoved(NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property)
key
- the key of the node that was changed; may not be nullnodePrimaryType
- the primary type of the node; may not be nullnodeMixinTypes
- the mixin types of the node; may not be nullnodePath
- the path of the node that was changedproperty
- the property that was removed, with name and value(s); may not be nullvoid propertyChanged(NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property newProperty, Property oldProperty)
key
- the key of the node that was changed; may not be nullnodePrimaryType
- the primary type of the node; may not be nullnodeMixinTypes
- the mixin types of the node; may not be nullnodePath
- the path of the node that was changednewProperty
- the new property, with name and value(s); may not be nulloldProperty
- the old property, with name and value(s); may not be nullvoid binaryValueNoLongerUsed(BinaryKey key)
key
- a BinaryKey
instance; never null
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.