org.jenkins.ci.plugins.jobloglogger
Class JobLogLoggerBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by org.jenkins.ci.plugins.jobloglogger.JobLogLoggerBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public final class JobLogLoggerBuildWrapper
extends hudson.tasks.BuildWrapper

Since:
1.0
Author:
Jesse Farinacci

Nested Class Summary
static class JobLogLoggerBuildWrapper.DescriptorImpl
          Plugin marker for BuildWrapper.
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JobLogLoggerBuildWrapper()
           
JobLogLoggerBuildWrapper(boolean suppressEmpty)
           
 
Method Summary
 OutputStream decorateLogger(hudson.model.AbstractBuild build, OutputStream logger)
           
 boolean isSuppressEmpty()
           
 void setSuppressEmpty(boolean suppressEmpty)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobLogLoggerBuildWrapper

public JobLogLoggerBuildWrapper()

JobLogLoggerBuildWrapper

@DataBoundConstructor
public JobLogLoggerBuildWrapper(boolean suppressEmpty)
Method Detail

decorateLogger

public OutputStream decorateLogger(hudson.model.AbstractBuild build,
                                   OutputStream logger)
                            throws IOException,
                                   InterruptedException,
                                   hudson.model.Run.RunnerAbortedException
Overrides:
decorateLogger in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException
hudson.model.Run.RunnerAbortedException

isSuppressEmpty

public boolean isSuppressEmpty()

setSuppressEmpty

public void setSuppressEmpty(boolean suppressEmpty)

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.