public class LogstashBuildWrapper
extends hudson.tasks.BuildWrapper
LogstashNote on each output line.| Modifier and Type | Class and Description |
|---|---|
static class |
LogstashBuildWrapper.DescriptorImpl
Registers
LogstashBuildWrapper as a BuildWrapper. |
static class |
LogstashBuildWrapper.RedisBlock
Encapsulate configuration data from the optionalBlock.
|
| Modifier and Type | Field and Description |
|---|---|
LogstashBuildWrapper.RedisBlock |
redis |
boolean |
useRedis |
| Constructor and Description |
|---|
LogstashBuildWrapper(LogstashBuildWrapper.RedisBlock redis)
Create a new
LogstashBuildWrapper. |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
decorateLogger(hudson.model.AbstractBuild build,
OutputStream logger) |
hudson.util.FormValidation |
doCheckHost(String value) |
LogstashBuildWrapper.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public LogstashBuildWrapper.RedisBlock redis
public boolean useRedis
@DataBoundConstructor public LogstashBuildWrapper(LogstashBuildWrapper.RedisBlock redis)
LogstashBuildWrapper.public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionpublic OutputStream decorateLogger(hudson.model.AbstractBuild build, OutputStream logger)
decorateLogger in class hudson.tasks.BuildWrapperpublic LogstashBuildWrapper.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>public hudson.util.FormValidation doCheckHost(@QueryParameter
String value)
Copyright © 2004-2013. All Rights Reserved.