public interface DistributionStructure
Modifier and Type | Method and Description |
---|---|
void |
excludeDefaultBundleRoot()
Configures this structure to no include the default bundle search path (bundles/) as a valid path.
|
void |
excludeDefaultModuleRoot()
Configures this structure to no include the default module search path (modules/) as a valid path.
|
boolean |
isBundleLookupPath(org.jboss.as.patching.generator.DistributionContentItem item)
Check if this path is a bundle root.
|
boolean |
isCompatibleWith(DistributionStructure other)
Gets whether this
DistributionStructure is compatible with another distribution structure. |
boolean |
isIgnored(org.jboss.as.patching.generator.DistributionContentItem item)
See if this content path is ignored.
|
boolean |
isModuleLookupPath(org.jboss.as.patching.generator.DistributionContentItem item)
Check if this path is a module root.
|
void |
registerIgnoredPath(String path)
Register a path that should be ignored when analyzing the structure for differences.
|
void |
registerStandardBundleSearchPath(String name,
String standardPath)
Register a bundle search path.
|
void |
registerStandardModuleSearchPath(String name,
String standardPath)
Register a module search path.
|
boolean isIgnored(org.jboss.as.patching.generator.DistributionContentItem item)
item
- the content itemtrue
if this path should be ignored, false
otherwiseboolean isModuleLookupPath(org.jboss.as.patching.generator.DistributionContentItem item)
item
- the content itemtrue
if this path should be treated as module rootboolean isBundleLookupPath(org.jboss.as.patching.generator.DistributionContentItem item)
item
- the content itemtrue
if this path should be treated as bundle rootvoid registerStandardModuleSearchPath(String name, String standardPath)
name
- logical name for the pathstandardPath
- the pathvoid excludeDefaultModuleRoot()
void registerStandardBundleSearchPath(String name, String standardPath)
name
- logical name for the pathstandardPath
- the pathvoid excludeDefaultBundleRoot()
void registerIgnoredPath(String path)
path
- the pathboolean isCompatibleWith(DistributionStructure other)
DistributionStructure
is compatible with another distribution structure. Compatible
structures will, immediately after construction, have the same default bundle and module paths, the same
default ignored paths, and the same rules for determining the types of content items.other
- the other structuretrue
if the structures are compatible, false
otherwiseCopyright © 2013 JBoss by Red Hat. All rights reserved.