org.jboss.deployers.vfs.spi.structure.modified
Class MetaDataStructureModificationChecker

java.lang.Object
  extended by org.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker<Long>
      extended by org.jboss.deployers.vfs.spi.structure.modified.MetaDataStructureModificationChecker
All Implemented Interfaces:
StructureListener, StructureModificationChecker

public class MetaDataStructureModificationChecker
extends AbstractStructureModificationChecker<Long>

MetaDataStructureModificationChecker.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker
log
 
Constructor Summary
MetaDataStructureModificationChecker(MainDeployerStructure mainDeployer)
           
 
Method Summary
protected  boolean hasRootBeenModified(org.jboss.virtual.VirtualFile root)
          Check the root for modification.
protected  boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root, ContextInfo contextInfo)
          Has structure been modifed.
protected  boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root, VFSDeploymentContext deploymentContext)
          Has structure been modified.
protected  boolean hasStructureBeenModified(org.jboss.virtual.VirtualFile root, StructureMetaData structureMetaData, Set<String> excludedPaths)
          Has structure been modified.
 void setFilter(org.jboss.virtual.VirtualFileFilter filter)
          Set the metadata filter.
 
Methods inherited from class org.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker
addStructureRoot, getCache, getDeploymentContext, getMainDeployerStructure, hasStructureBeenModified, hasStructureBeenModified, hasStructureBeenModified, hasStructureBeenModified, removeStructureRoot, setCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataStructureModificationChecker

public MetaDataStructureModificationChecker(MainDeployerStructure mainDeployer)
Method Detail

setFilter

public void setFilter(org.jboss.virtual.VirtualFileFilter filter)
Set the metadata filter.

Parameters:
filter - the metadata filter

hasRootBeenModified

protected boolean hasRootBeenModified(org.jboss.virtual.VirtualFile root)
                               throws IOException
Description copied from class: AbstractStructureModificationChecker
Check the root for modification.

Overrides:
hasRootBeenModified in class AbstractStructureModificationChecker<Long>
Parameters:
root - the root to check
Returns:
true if modified, false otherwise
Throws:
IOException - for any error

hasStructureBeenModifed

protected boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root,
                                          VFSDeploymentContext deploymentContext)
                                   throws IOException
Description copied from class: AbstractStructureModificationChecker
Has structure been modified.

Specified by:
hasStructureBeenModifed in class AbstractStructureModificationChecker<Long>
Parameters:
root - the client root
deploymentContext - the deployment context
Returns:
true if modifed, false otherwise
Throws:
IOException - for any error

hasStructureBeenModified

protected boolean hasStructureBeenModified(org.jboss.virtual.VirtualFile root,
                                           StructureMetaData structureMetaData,
                                           Set<String> excludedPaths)
                                    throws IOException
Has structure been modified.

Parameters:
root - the root
structureMetaData - the structure metadata
excludedPaths - the excluded paths
Returns:
true if modifed, false otherwise
Throws:
IOException - for any error

hasStructureBeenModifed

protected boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root,
                                          ContextInfo contextInfo)
                                   throws IOException
Has structure been modifed.

Parameters:
root - the root
contextInfo - the context info
Returns:
true if modifed, false otherwise
Throws:
IOException - for any error


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