Package com.github.jenkins.lastchanges
Class LastChangesPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- com.github.jenkins.lastchanges.LastChangesPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,Serializable
,SimpleBuildStep
public class LastChangesPublisher extends Recorder implements SimpleBuildStep, Serializable
- Author:
- rmpestano
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LastChangesPublisher.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description LastChangesPublisher(SinceType since, FormatType format, MatchingType matching, Boolean showFiles, Boolean synchronisedScroll, String matchWordsThreshold, String matchingMaxComparisons, String specificRevision, String vcsDir, String specificBuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatType
getFormat()
LastChanges
getLastChanges()
MatchingType
getMatching()
String
getMatchingMaxComparisons()
String
getMatchWordsThreshold()
BuildStepMonitor
getRequiredMonitorService()
Boolean
getShowFiles()
SinceType
getSince()
String
getSpecificBuild()
String
getSpecificRevision()
Boolean
getSynchronisedScroll()
String
getVcsDir()
void
perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
void
setFormat(FormatType format)
void
setMatching(MatchingType matching)
void
setMatchingMaxComparisons(String matchingMaxComparisons)
void
setMatchWordsThreshold(String matchWordsThreshold)
void
setShowFiles(Boolean showFiles)
void
setSince(SinceType since)
void
setSpecificBuild(String buildNumber)
void
setSpecificRevision(String specificRevision)
void
setSynchronisedScroll(Boolean synchronisedScroll)
void
setVcsDir(String vcsDir)
-
Methods inherited from class hudson.tasks.Recorder
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
LastChangesPublisher
@DataBoundConstructor public LastChangesPublisher(SinceType since, FormatType format, MatchingType matching, Boolean showFiles, Boolean synchronisedScroll, String matchWordsThreshold, String matchingMaxComparisons, String specificRevision, String vcsDir, String specificBuild)
-
-
Method Detail
-
perform
public void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
IOException
InterruptedException
-
getLastChanges
public LastChanges getLastChanges()
- Returns:
- gets the LastChanges from current publisher
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getSince
public SinceType getSince()
-
getSpecificRevision
public String getSpecificRevision()
-
getFormat
public FormatType getFormat()
-
getMatching
public MatchingType getMatching()
-
getMatchWordsThreshold
public String getMatchWordsThreshold()
-
getMatchingMaxComparisons
public String getMatchingMaxComparisons()
-
getShowFiles
public Boolean getShowFiles()
-
getSynchronisedScroll
public Boolean getSynchronisedScroll()
-
getVcsDir
public String getVcsDir()
-
getSpecificBuild
public String getSpecificBuild()
-
setSince
@DataBoundSetter public void setSince(SinceType since)
-
setSpecificRevision
@DataBoundSetter public void setSpecificRevision(String specificRevision)
-
setFormat
@DataBoundSetter public void setFormat(FormatType format)
-
setMatching
@DataBoundSetter public void setMatching(MatchingType matching)
-
setMatchingMaxComparisons
@DataBoundSetter public void setMatchingMaxComparisons(String matchingMaxComparisons)
-
setMatchWordsThreshold
@DataBoundSetter public void setMatchWordsThreshold(String matchWordsThreshold)
-
setShowFiles
@DataBoundSetter public void setShowFiles(Boolean showFiles)
-
setSynchronisedScroll
@DataBoundSetter public void setSynchronisedScroll(Boolean synchronisedScroll)
-
setVcsDir
@DataBoundSetter public void setVcsDir(String vcsDir)
-
setSpecificBuild
@DataBoundSetter public void setSpecificBuild(String buildNumber)
-
-