Class FixSiteAnchorsMojo.Replacement

  • Enclosing class:
    FixSiteAnchorsMojo

    public static final class FixSiteAnchorsMojo.Replacement
    extends java.lang.Object
    A single replacement.
    Since:
    2.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String replace  
      private java.lang.String search  
    • Constructor Summary

      Constructors 
      Constructor Description
      Replacement()
      Creates a new replacement.
      Replacement​(java.lang.String search, java.lang.String replace)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReplace()
      Returns the string to replace with.
      java.lang.String getSearch()
      Returns the string to search for.
      void setReplace​(java.lang.String replace)
      Sets the string to replace with.
      void setSearch​(java.lang.String search)
      Sets the string to search for.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • search

        private java.lang.String search
      • replace

        private java.lang.String replace
    • Constructor Detail

      • Replacement

        public Replacement()
        Creates a new replacement.
      • Replacement

        Replacement​(java.lang.String search,
                    java.lang.String replace)
    • Method Detail

      • getSearch

        public java.lang.String getSearch()
        Returns the string to search for.
        Returns:
        The string to search for.
      • setSearch

        public void setSearch​(java.lang.String search)
        Sets the string to search for.
        Parameters:
        search - The string to search for.
      • getReplace

        public java.lang.String getReplace()
        Returns the string to replace with.
        Returns:
        The string to replace with.
      • setReplace

        public void setReplace​(java.lang.String replace)
        Sets the string to replace with.
        Parameters:
        replace - The string to replace with.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object