Class GitHubPRMessage
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubPRMessage>
org.jenkinsci.plugins.github.pullrequest.GitHubPRMessage
- All Implemented Interfaces:
Describable<GitHubPRMessage>
Represents a comment for GitHub that can contain token macros.
- Author:
- Kanstantsin Shautsou, Alina Karpovich
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpandAll
(Run<?, ?> run, TaskListener listener) Expand all what we can from given runstatic String
expandAll
(String content, Run<?, ?> run, TaskListener listener) Expand all what we can from given run
-
Constructor Details
-
GitHubPRMessage
-
-
Method Details
-
expandAll
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public String expandAll(Run<?, ?> run, TaskListener listener) throws IOException, InterruptedExceptionExpand all what we can from given run- Throws:
IOException
InterruptedException
-
expandAll
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public static String expandAll(String content, Run<?, ?> run, TaskListener listener) throws IOException, InterruptedExceptionExpand all what we can from given run- Throws:
IOException
InterruptedException
-
getContent
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GitHubPRMessage>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubPRMessage>
-