public class VersionablePathHook extends Object implements CommitHook
| Constructor and Description |
|---|
VersionablePathHook(String workspaceName) |
| Modifier and Type | Method and Description |
|---|---|
NodeState |
processCommit(NodeState before,
NodeState after,
CommitInfo info)
Validates and/or modifies the given content change before it gets
persisted.
|
String |
toString() |
public VersionablePathHook(String workspaceName)
public NodeState processCommit(NodeState before, NodeState after, CommitInfo info) throws CommitFailedException
CommitHookprocessCommit in interface CommitHookbefore - content tree before the commitafter - content tree prepared for the commitinfo - metadata associated with this commitCommitFailedException - if the commit should be rejected"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"