public abstract class MarkupGenerator extends Object implements Describable<MarkupGenerator>, ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
MarkupGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorExtensionList<MarkupGenerator,Descriptor<MarkupGenerator>> |
all()
Returns all
MarkupGenerator descriptors |
protected String |
expand(Run<?,?> build,
TaskListener listener,
String generated,
List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
Expands replacement variables in the generated text
|
protected String |
expandAttachmentsLink(TaskListener listener,
String generated,
List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
Expands replacement $LINK[n] variables with uploaded files links
|
abstract String |
generateMarkup(Run<?,?> build,
FilePath filePath,
TaskListener listener,
List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
Generates markup to be used for replacement
|
Descriptor<MarkupGenerator> |
getDescriptor() |
public Descriptor<MarkupGenerator> getDescriptor()
getDescriptor in interface Describable<MarkupGenerator>public static DescriptorExtensionList<MarkupGenerator,Descriptor<MarkupGenerator>> all()
MarkupGenerator descriptorspublic abstract String generateMarkup(Run<?,?> build, FilePath filePath, TaskListener listener, List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
build - listener - protected String expand(Run<?,?> build, TaskListener listener, String generated, List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
build - listener - generated - protected String expandAttachmentsLink(TaskListener listener, String generated, List<com.atlassian.confluence.api.model.content.Content> remoteAttachments)
listener - generated - remoteAttachments - Copyright © 2016–2021 MeetMe, Inc.. All rights reserved.