org.jboss.deployers.vfs.plugins.structure.modify
Interface ModificationTypeMatcher

All Known Implementing Classes:
AbstractModificationTypeMatcher, ExplodeTopModificationTypeMatcher, FileModificationTypeMatcher, TempTopModificationTypeMatcher, UnjarTopModificationTypeMatcher

public interface ModificationTypeMatcher

Determine if we need some modification.

Author:
Ales Justin

Method Summary
 boolean determineModification(org.jboss.virtual.VirtualFile root, ContextInfo contextInfo)
          Should we modify the file.
 boolean determineModification(org.jboss.virtual.VirtualFile root, StructureMetaData structureMetaData)
          Should we modify the file.
 

Method Detail

determineModification

boolean determineModification(org.jboss.virtual.VirtualFile root,
                              StructureMetaData structureMetaData)
Should we modify the file.

Parameters:
root - the deployment root
structureMetaData - the current structure metadata
Returns:
true if we determined modification

determineModification

boolean determineModification(org.jboss.virtual.VirtualFile root,
                              ContextInfo contextInfo)
Should we modify the file.

Parameters:
root - the deployment root
contextInfo - the current context info
Returns:
true if we determined modification


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