org.jenkinsci.plugins.buildcontextcapture.type
Class BuildContextCaptureType

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildContextCaptureType()
           
 
Method Summary
 void capture(hudson.model.AbstractBuild build, BuildContextLogger logger, File outputCaptureDir, String format)
           
protected  void captureAndExport(hudson.model.AbstractBuild build, BuildContextLogger logger, File outputCaptureDir, String format)
           
abstract  Map<String,? extends Object> getCapturedElements(hudson.model.AbstractBuild build, BuildContextLogger logger)
           
 hudson.model.Descriptor<BuildContextCaptureType> getDescriptor()
           
protected abstract  String getFileName()
           
protected  AbstractExporterType getSerializerFormat(String format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildContextCaptureType

public BuildContextCaptureType()
Method Detail

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.