Class LogFlowRecorder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- io.jenkins.plugins.LogFlowVisualizer.LogFlowRecorder
-
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
@Extension public class LogFlowRecorder extends Recorder implements SimpleBuildStep
responsible for performing all actions of the plugin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogFlowRecorder.DescriptorImplmainly used for configuration and input checks-
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 Modifier and Type Field Description static StringcacheNamestatic StringcachePictureName-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description LogFlowRecorder()LogFlowRecorder(List<LogFlowInput> configurations, Boolean generatePicture, Boolean compareAgainstLastStableBuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCompareAgainstLastStableBuild()List<LogFlowInput>getConfigurations()DescriptorExtensionList<LogFlowInput,LogFlowInputDescriptor>getFormatDescriptors()BooleangetGeneratePicture()voidperform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)voidsetCompareAgainstLastStableBuild(Boolean compareAgainstLastStableBuild)voidsetConfigurations(List<LogFlowInput> configurations)voidsetGeneratePicture(Boolean generatePicture)-
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, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
cacheName
public static final String cacheName
- See Also:
- Constant Field Values
-
cachePictureName
public static final String cachePictureName
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LogFlowRecorder
public LogFlowRecorder()
-
LogFlowRecorder
@DataBoundConstructor public LogFlowRecorder(List<LogFlowInput> configurations, Boolean generatePicture, Boolean compareAgainstLastStableBuild)
-
-
Method Detail
-
getCompareAgainstLastStableBuild
public Boolean getCompareAgainstLastStableBuild()
-
setCompareAgainstLastStableBuild
@DataBoundSetter public void setCompareAgainstLastStableBuild(Boolean compareAgainstLastStableBuild)
-
getGeneratePicture
public Boolean getGeneratePicture()
-
setGeneratePicture
@DataBoundSetter public void setGeneratePicture(Boolean generatePicture)
-
getConfigurations
public List<LogFlowInput> getConfigurations()
-
setConfigurations
public void setConfigurations(List<LogFlowInput> configurations)
-
getFormatDescriptors
public DescriptorExtensionList<LogFlowInput,LogFlowInputDescriptor> getFormatDescriptors()
-
perform
public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws IOException- Specified by:
performin interfaceSimpleBuildStep- Parameters:
run- a build this is running as a part ofworkspace- a workspace to use for any file operationsenv- environment variables applicable to this steplauncher- a way to start processeslistener- a place to send output- Throws:
IOException
-
-