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
StoredCommentLinkInfo
for additional details.
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
enabled
Whether the commentlink is enabled.String
link
The URL to direct the user to whenever the regular expression is matched.String
match
A JavaScript regular expression to match positions to be replaced with a hyperlink.String
prefix
Text inserted before the link if the regular expression is matched.String
suffix
Text inserted after the link if the regular expression is matched.String
text
Text 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.
-
-