Package com.day.cq.rewriter.linkchecker
Class LinkRewriteConfig
- java.lang.Object
-
- com.day.cq.rewriter.linkchecker.LinkRewriteConfig
-
public class LinkRewriteConfig extends java.lang.Object
LinkRewriteConfig
holds the prefix and suffix strings for links that are invalid, expired or predated.
-
-
Constructor Summary
Constructors Constructor Description LinkRewriteConfig(boolean remove, java.lang.String prefix, java.lang.String suffix)
Creates a new config.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPrefix()
Returns the prefix stringjava.lang.String
getSuffix()
Returns the suffix stringboolean
remove()
Controls if the link should be removed
-
-
-
Method Detail
-
remove
public boolean remove()
Controls if the link should be removed- Returns:
true
if the link should be removed
-
getPrefix
public java.lang.String getPrefix()
Returns the prefix string- Returns:
- prefix string
-
getSuffix
public java.lang.String getSuffix()
Returns the suffix string- Returns:
- suffix string
-
-