Class SimpleRelocator
java.lang.Object
org.apache.maven.plugins.shade.relocation.SimpleRelocator
- All Implemented Interfaces:
Relocator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyToSourceContent(String sourceContent) booleancanRelocateClass(String clazz) booleancanRelocatePath(String path) private booleanisExcluded(String path) private booleanisIncluded(String path) normalizePatterns(Collection<String> patterns) relocateClass(String clazz) relocatePath(String path)
-
Field Details
-
pattern
-
pathPattern
-
shadedPattern
-
shadedPathPattern
-
includes
-
excludes
-
rawString
private final boolean rawString
-
-
Constructor Details
-
SimpleRelocator
-
SimpleRelocator
-
-
Method Details
-
normalizePatterns
-
isIncluded
-
isExcluded
-
canRelocatePath
- Specified by:
canRelocatePathin interfaceRelocator
-
canRelocateClass
- Specified by:
canRelocateClassin interfaceRelocator
-
relocatePath
- Specified by:
relocatePathin interfaceRelocator
-
relocateClass
- Specified by:
relocateClassin interfaceRelocator
-
applyToSourceContent
- Specified by:
applyToSourceContentin interfaceRelocator
-