Class CommentLinkInput
- java.lang.Object
-
- com.google.gerrit.extensions.api.projects.CommentLinkInput
-
public class CommentLinkInput extends Object
Input for a commentlink configuration on a project.See
StoredCommentLinkInfofor additional details.
-
-
Field Summary
Fields Modifier and Type Field Description BooleanenabledWhether the commentlink is enabled.StringlinkThe URL to direct the user to whenever the regular expression is matched.StringmatchA JavaScript regular expression to match positions to be replaced with a hyperlink.StringprefixText inserted before the link if the regular expression is matched.StringsuffixText inserted after the link if the regular expression is matched.StringtextText of the link.
-
Constructor Summary
Constructors Constructor Description CommentLinkInput()
-
-
-
Field Detail
-
match
public String match
A JavaScript regular expression to match positions to be replaced with a hyperlink.
-
link
public String link
The URL to direct the user to whenever the regular expression is matched.
-
prefix
public String prefix
Text inserted before the link if the regular expression is matched.
-
suffix
public String suffix
Text inserted after the link if the regular expression is matched.
-
text
public String text
Text of the link.
-
enabled
public Boolean enabled
Whether the commentlink is enabled.
-
-