org.jenkinsci.plugins.buildcontextcapture.type
Class BuildContextCaptureType
java.lang.Object
org.jenkinsci.plugins.buildcontextcapture.type.BuildContextCaptureType
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<BuildContextCaptureType>, Serializable
- Direct Known Subclasses:
- CommandType, EnvVarsType, JobConfigType, JobInfraType, LogType
public abstract class BuildContextCaptureType
- extends Object
- implements hudson.ExtensionPoint, hudson.model.Describable<BuildContextCaptureType>, Serializable
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildContextCaptureType
public BuildContextCaptureType()
getDescriptor
public hudson.model.Descriptor<BuildContextCaptureType> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<BuildContextCaptureType>
capture
public void capture(hudson.model.AbstractBuild build,
BuildContextLogger logger,
File outputCaptureDir,
String format)
throws BuildContextException
- Throws:
BuildContextException
captureAndExport
protected void captureAndExport(hudson.model.AbstractBuild build,
BuildContextLogger logger,
File outputCaptureDir,
String format)
throws BuildContextException
- Throws:
BuildContextException
getCapturedElements
public abstract Map<String,? extends Object> getCapturedElements(hudson.model.AbstractBuild build,
BuildContextLogger logger)
throws BuildContextException
- Throws:
BuildContextException
getFileName
protected abstract String getFileName()
getSerializerFormat
protected AbstractExporterType getSerializerFormat(String format)
Copyright © 2004-2012. All Rights Reserved.