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.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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()voidperform(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) voidsetFormat(FormatType format) voidsetMatching(MatchingType matching) voidsetMatchingMaxComparisons(String matchingMaxComparisons) voidsetMatchWordsThreshold(String matchWordsThreshold) voidsetShowFiles(Boolean showFiles) voidvoidsetSpecificBuild(String buildNumber) voidsetSpecificRevision(String specificRevision) voidsetSynchronisedScroll(Boolean synchronisedScroll) voidMethods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods 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:
performin interfaceSimpleBuildStep- Throws:
IOExceptionInterruptedException
-
getLastChanges
- Returns:
- gets the LastChanges from current publisher
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getSince
-
getSpecificRevision
-
getFormat
-
getMatching
-
getMatchWordsThreshold
-
getMatchingMaxComparisons
-
getShowFiles
-
getSynchronisedScroll
-
getVcsDir
-
getSpecificBuild
-
setSince
-
setSpecificRevision
-
setFormat
-
setMatching
-
setMatchingMaxComparisons
-
setMatchWordsThreshold
-
setShowFiles
-
setSynchronisedScroll
-
setVcsDir
-
setSpecificBuild
-