|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.vfs.plugins.structure.modify.AbstractModificationTypeMatcher
public abstract class AbstractModificationTypeMatcher
Abstract modification type matcher.
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
|
Constructor Summary | |
---|---|
AbstractModificationTypeMatcher()
|
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. |
protected abstract boolean |
isModificationDetermined(org.jboss.virtual.VirtualFile file,
ContextInfo contextInfo)
Is modification determined. |
void |
setCheckChildren(boolean checkChildren)
Do we apply modification to the top structure context. |
void |
setChildrenOnly(boolean childrenOnly)
Is this matcher children only. |
void |
setModificationType(ModificationType modificationType)
Set the modification type. |
void |
setTopLevelOnly(boolean topLevelOnly)
Is this matcher top level only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.jboss.logging.Logger log
Constructor Detail |
---|
public AbstractModificationTypeMatcher()
Method Detail |
---|
public boolean determineModification(org.jboss.virtual.VirtualFile root, StructureMetaData structureMetaData)
ModificationTypeMatcher
determineModification
in interface ModificationTypeMatcher
root
- the deployment rootstructureMetaData
- the current structure metadata
public boolean determineModification(org.jboss.virtual.VirtualFile root, ContextInfo contextInfo)
ModificationTypeMatcher
determineModification
in interface ModificationTypeMatcher
root
- the deployment rootcontextInfo
- the current context info
protected abstract boolean isModificationDetermined(org.jboss.virtual.VirtualFile file, ContextInfo contextInfo)
file
- the filecontextInfo
- the context info
public void setCheckChildren(boolean checkChildren)
checkChildren
- the apply to top flagpublic void setTopLevelOnly(boolean topLevelOnly)
topLevelOnly
- the top level only flagpublic void setChildrenOnly(boolean childrenOnly)
childrenOnly
- the children only flagpublic void setModificationType(ModificationType modificationType)
modificationType
- the modification type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |