Class FixSiteAnchorsMojo.Replacement
- java.lang.Object
-
- com.github.robtimus.maven.plugins.buildhelper.FixSiteAnchorsMojo.Replacement
-
- Enclosing class:
- FixSiteAnchorsMojo
public static final class FixSiteAnchorsMojo.Replacement extends Object
A single replacement.- Author:
- Rob Spoor
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description Replacement()Creates a new replacement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetReplace()Returns the string to replace with.StringgetSearch()Returns the string to search for.voidsetReplace(String replace)Sets the string to replace with.voidsetSearch(String search)Sets the string to search for.StringtoString()
-
-
-
Method Detail
-
getSearch
public String getSearch()
Returns the string to search for.- Returns:
- The string to search for.
-
setSearch
public void setSearch(String search)
Sets the string to search for.- Parameters:
search- The string to search for.
-
getReplace
public String getReplace()
Returns the string to replace with.- Returns:
- The string to replace with.
-
setReplace
public void setReplace(String replace)
Sets the string to replace with.- Parameters:
replace- The string to replace with.
-
-