public final class ConfluencePublisher extends Notifier implements Saveable, SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfluencePublisher.DescriptorImpl |
static class |
ConfluencePublisher.EnvVarAction
Build action that is capable of inserting arbitrary KVPs into the EnvVars.
|
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonBUILDERS, PUBLISHERS| Constructor and Description |
|---|
ConfluencePublisher(String siteName,
boolean buildIfUnstable,
String spaceName,
String pageName,
String labels,
boolean attachArchivedArtifacts,
String fileSet,
List<MarkupEditor> editorList,
boolean replaceAttachments,
long parentId)
Deprecated.
|
ConfluencePublisher(String siteName,
String spaceName,
String pageName) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperform, perform, requiresWorkspacegetProjectAction, getProjectActions, perform, prebuild@Deprecated public ConfluencePublisher(String siteName, boolean buildIfUnstable, String spaceName, String pageName, String labels, boolean attachArchivedArtifacts, String fileSet, List<MarkupEditor> editorList, boolean replaceAttachments, long parentId)
@DataBoundSetter public void setBuildIfUnstable(boolean buildIfUnstable)
@DataBoundSetter public void setAttachArchivedArtifacts(boolean attachArchivedArtifacts)
@DataBoundSetter public void setFileSet(String fileSet)
@DataBoundSetter public void setReplaceAttachments(boolean replaceAttachments)
@DataBoundSetter public void setLabels(String labels)
@DataBoundSetter public void setParentId(long parentId)
@DataBoundSetter public void setEditorList(List<MarkupEditor> editorList)
public List<MarkupEditor> getEditorList()
public ConfluencePublisher.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class Notifierpublic String getFileSet()
@NonNull public String getPageName()
public long getParentId()
public String getLabels()
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildSteppublic ConfluenceSite getSite()
@NonNull public String getSiteName()
@NonNull public String getSpaceName()
protected List<com.atlassian.confluence.api.model.content.Content> performAttachments(Run build, FilePath ws, TaskListener listener, ConfluenceSession confluence, com.atlassian.confluence.api.model.content.Content pageContent) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void perform(@NonNull
Run<?,?> build,
@NonNull
FilePath filePath,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
perform in interface SimpleBuildStepInterruptedExceptionIOExceptionprotected void log(TaskListener listener, String message)
listener - message - public boolean isAttachArchivedArtifacts()
public boolean isBuildIfUnstable()
public boolean isReplaceAttachments()
Copyright © 2016–2021 MeetMe, Inc.. All rights reserved.