Package com.day.cq.rewriter.linkchecker
Class LinkRewriteConfig
java.lang.Object
com.day.cq.rewriter.linkchecker.LinkRewriteConfig
LinkRewriteConfig holds the prefix and suffix strings for
links that are invalid, expired or predated.-
Constructor Summary
ConstructorsConstructorDescriptionLinkRewriteConfig(boolean remove, String prefix, String suffix) Creates a new config. -
Method Summary
-
Constructor Details
-
LinkRewriteConfig
Creates a new config.- Parameters:
remove- indicates if the link should be removedprefix- prefix stringsuffix- suffix string
-
-
Method Details
-
remove
public boolean remove()Controls if the link should be removed- Returns:
trueif the link should be removed
-
getPrefix
Returns the prefix string- Returns:
- prefix string
-
getSuffix
Returns the suffix string- Returns:
- suffix string
-