org.apache.jackrabbit.spi.commons.batch
Class Operations.Empty

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.batch.Operations.Empty
All Implemented Interfaces:
Operation
Direct Known Subclasses:
ConsolidatingChangeLog.CancelableOperations.Empty
Enclosing class:
Operations

public static class Operations.Empty
extends java.lang.Object
implements Operation

Representative of the empty Operation which does nothing when applied to a Batch.


Constructor Summary
protected Operations.Empty()
           
 
Method Summary
 void apply(Batch batch)
          This method has no effect.
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Operations.Empty

protected Operations.Empty()
Method Detail

apply

public void apply(Batch batch)
           throws RepositoryException
This method has no effect. Apply this operation to the given Batch

Specified by:
apply in interface Operation
Throws:
RepositoryException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.