org.jboss.deployers.vfs.plugins.structure.modify
Class FileModificationTypeMatcher
java.lang.Object
org.jboss.deployers.vfs.plugins.structure.modify.AbstractModificationTypeMatcher
org.jboss.deployers.vfs.plugins.structure.modify.FileModificationTypeMatcher
- All Implemented Interfaces:
- ModificationTypeMatcher
- Direct Known Subclasses:
- ExplodeTopModificationTypeMatcher, TempTopModificationTypeMatcher, UnjarTopModificationTypeMatcher
public class FileModificationTypeMatcher
- extends AbstractModificationTypeMatcher
File modification type matcher.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileModificationTypeMatcher
public FileModificationTypeMatcher(String... paths)
isModificationDetermined
protected boolean isModificationDetermined(org.jboss.virtual.VirtualFile root,
ContextInfo contextInfo)
- Description copied from class:
AbstractModificationTypeMatcher
- Is modification determined.
- Specified by:
isModificationDetermined
in class AbstractModificationTypeMatcher
- Parameters:
root
- the filecontextInfo
- the context info
- Returns:
- true if we should apply modification type, false otherwise
getStartingFiles
protected List<org.jboss.virtual.VirtualFile> getStartingFiles(org.jboss.virtual.VirtualFile file,
ContextInfo contextInfo)
- Get starting files for path check.
- Parameters:
file
- the current filecontextInfo
- the context info
- Returns:
- list of starting files
setMetadataOnly
public void setMetadataOnly(boolean metadataOnly)
- Should we check metadata only.
- Parameters:
metadataOnly
- the metadata only flag
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.