Class Relocation
java.lang.Object
com.vouncherstudios.strawberry.shadow.Relocation
-
Constructor Summary
ConstructorsConstructorDescriptionRelocation(String pattern, String destination, org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> configuration) Create a new relocation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> Get the configuration of the relocator.Get the destination package.Get the source pattern to relocate.inthashCode()
-
Constructor Details
-
Relocation
public Relocation(@Nonnull String pattern, @Nonnull String destination, @Nullable org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> configuration) Create a new relocation.- Parameters:
pattern- the source pattern to relocatedestination- the destination packageconfiguration- the configuration of the relocator
-
-
Method Details
-
getPattern
-
getDestination
Get the destination package.- Returns:
- the destination package
-
getConfiguration
@Nullable public org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> getConfiguration()Get the configuration of the relocator.- Returns:
- the configuration
-
equals
-
hashCode
-