Class ArtifactIndexer
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.lucene.search.artifact.ArtifactIndexer
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class ArtifactIndexer extends Recorder
Supplies the methods and configuration data needed to get index artifacts. Doesn't do anything in the perform step, but should conceptually be a post-build step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArtifactIndexer.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
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ArtifactIndexer(String artifacts, String excludes, String charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArtifacts()
String
getExcludes()
String
getIndexableData(AbstractBuild<?,?> build)
BuildStepMonitor
getRequiredMonitorService()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
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, prebuild
-
-
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getExcludes
public String getExcludes()
-
getArtifacts
public String getArtifacts()
-
getIndexableData
public String getIndexableData(AbstractBuild<?,?> build)
-
-