Interface IdentifierStrategy
- All Known Implementing Classes:
HandleIdentifierStrategy
public interface IdentifierStrategy
Strategy for determining the identifier used in a
UsageEvent
-
Method Summary
Modifier and TypeMethodDescriptiongetIdentifier
(Node node) Determines the identifier to be used in aUsageEvent
.
-
Method Details
-
getIdentifier
Determines the identifier to be used in aUsageEvent
. This can be the identifier of the node itself or anything that uniquely identifies the node or any of its ancestors.- Parameters:
node
-Node
- Returns:
- The identifier of the node ( not necessarily the
Node.getIdentifier()
) - Throws:
RepositoryException
- if an error occurs
-