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) boolean
canRelocateClass
(String clazz) boolean
canRelocatePath
(String path) private boolean
isExcluded
(String path) private boolean
isIncluded
(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:
canRelocatePath
in interfaceRelocator
-
canRelocateClass
- Specified by:
canRelocateClass
in interfaceRelocator
-
relocatePath
- Specified by:
relocatePath
in interfaceRelocator
-
relocateClass
- Specified by:
relocateClass
in interfaceRelocator
-
applyToSourceContent
- Specified by:
applyToSourceContent
in interfaceRelocator
-