Package com.day.cq.rewriter.linkchecker
Class LinkRewriteConfig
- java.lang.Object
-
- com.day.cq.rewriter.linkchecker.LinkRewriteConfig
-
public class LinkRewriteConfig extends java.lang.ObjectLinkRewriteConfigholds 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.StringgetPrefix()Returns the prefix stringjava.lang.StringgetSuffix()Returns the suffix stringbooleanremove()Controls if the link should be removed
-
-
-
Method Detail
-
remove
public boolean remove()
Controls if the link should be removed- Returns:
trueif 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
-
-