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:
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
abstract  void capture(hudson.model.AbstractBuild build, File outputCaptureDir, String format)
           
protected  void export(Map<String,? extends Object> mapValues, File outputCaptureDir, String format)
           
 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 abstract void capture(hudson.model.AbstractBuild build,
                             File outputCaptureDir,
                             String format)
                      throws BuildContextException
Throws:
BuildContextException

getFileName

protected abstract String getFileName()

export

protected void export(Map<String,? extends Object> mapValues,
                      File outputCaptureDir,
                      String format)
               throws BuildContextException
Throws:
BuildContextException

getSerializerFormat

protected AbstractExporterType getSerializerFormat(String format)


Copyright © 2004-2012. All Rights Reserved.