Class FixSiteAnchorsMojo.Replacement
- java.lang.Object
-
- com.github.robtimus.maven.plugins.buildhelper.FixSiteAnchorsMojo.Replacement
-
- Enclosing class:
- FixSiteAnchorsMojo
public static final class FixSiteAnchorsMojo.Replacement extends java.lang.ObjectA single replacement.- Since:
- 2.0
-
-
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.StringgetReplace()Returns the string to replace with.java.lang.StringgetSearch()Returns the string to search for.voidsetReplace(java.lang.String replace)Sets the string to replace with.voidsetSearch(java.lang.String search)Sets the string to search for.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-