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 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(Object other)
           
 int hashCode()
           
 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 String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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