All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sirix.api.PreCommitHook Maven / Gradle / Ivy

package org.sirix.api;

import org.sirix.api.xml.XmlNodeReadOnlyTrx;

/**
 * Pre commit hook.
 *
 * @author Johannes Lichtenberger
 *
 */
@FunctionalInterface
public interface PreCommitHook {
  /**
   * Pre commit hook. Called before a revision is commited.
   *
   * @param rtx Sirix {@link XmlNodeReadOnlyTrx}
   * @throws NullPointerException if {@code rtx} is {@code null}
   */
  void preCommit(NodeReadOnlyTrx rtx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy