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
- Author:
- rmpestano
- See Also:
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionLastChangesPublisher
(SinceType since, FormatType format, MatchingType matching, Boolean showFiles, Boolean synchronisedScroll, String matchWordsThreshold, String matchingMaxComparisons, String specificRevision, String vcsDir, String specificBuild) -
Method Summary
Modifier and TypeMethodDescriptiongetSince()
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
void
setSpecificBuild
(String buildNumber) void
setSpecificRevision
(String specificRevision) void
setSynchronisedScroll
(Boolean synchronisedScroll) void
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 Details
-
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 Details
-
perform
public void perform(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
IOException
InterruptedException
-
getLastChanges
- Returns:
- gets the LastChanges from current publisher
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getSince
-
getSpecificRevision
-
getFormat
-
getMatching
-
getMatchWordsThreshold
-
getMatchingMaxComparisons
-
getShowFiles
-
getSynchronisedScroll
-
getVcsDir
-
getSpecificBuild
-
setSince
-
setSpecificRevision
-
setFormat
-
setMatching
-
setMatchingMaxComparisons
-
setMatchWordsThreshold
-
setShowFiles
-
setSynchronisedScroll
-
setVcsDir
-
setSpecificBuild
-