org.jboss.deployers.vfs.spi.structure.modified
Interface StructureModificationChecker

All Superinterfaces:
StructureListener
All Known Implementing Classes:
AbstractStructureModificationChecker, MetaDataStructureModificationChecker, SynchWrapperModificationChecker

public interface StructureModificationChecker
extends StructureListener

Simple structure modification checker interface.

Author:
Ales Justin

Method Summary
 boolean hasStructureBeenModified(VFSDeployment deployment)
          Has structure been modified.
 boolean hasStructureBeenModified(VFSDeploymentContext deploymentContext)
          Has structure been modified.
 boolean hasStructureBeenModified(org.jboss.virtual.VirtualFile root)
          Has structure been modified.
 
Methods inherited from interface org.jboss.deployers.vfs.spi.structure.modified.StructureListener
addStructureRoot, removeStructureRoot
 

Method Detail

hasStructureBeenModified

boolean hasStructureBeenModified(org.jboss.virtual.VirtualFile root)
                                 throws IOException
Has structure been modified.

Parameters:
root - the structure's root
Returns:
true if structure has been modified, false otherwise
Throws:
IOException - for any error

hasStructureBeenModified

boolean hasStructureBeenModified(VFSDeployment deployment)
                                 throws IOException
Has structure been modified.

Parameters:
deployment - the vfs deployment
Returns:
true if structure has been modified, false otherwise
Throws:
IOException - for any error

hasStructureBeenModified

boolean hasStructureBeenModified(VFSDeploymentContext deploymentContext)
                                 throws IOException
Has structure been modified.

Parameters:
deploymentContext - the vfs deployment context
Returns:
true if structure has been modified, false otherwise
Throws:
IOException - for any error


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.