Class Relocation


  • public final class Relocation
    extends Object
    A relocation rule
    • Constructor Detail

      • Relocation

        public Relocation​(String pattern,
                          String relocatedPattern,
                          Collection<String> includes,
                          Collection<String> excludes)
        Creates a new relocation
        Parameters:
        pattern - the pattern to match
        relocatedPattern - the pattern to relocate to
        includes - a collection of patterns which this rule should specifically include
        excludes - a collection of patterns which this rule should specifically exclude
      • Relocation

        public Relocation​(String pattern,
                          String relocatedPattern)
        Creates a new relocation with no specific includes or excludes
        Parameters:
        pattern - the pattern to match
        relocatedPattern - the pattern to relocate to