net.praqma.jenkins.memorymap
Class MemoryMapRecorder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by net.praqma.jenkins.memorymap.MemoryMapRecorder
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class MemoryMapRecorder
extends hudson.tasks.Recorder

Author:
Praqma

Nested Class Summary
static class MemoryMapRecorder.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
MemoryMapRecorder(AbstractMemoryMapParser chosenParser, String configurationFile, boolean showBytesOnGraph, String wordSize)
           
 
Method Summary
 AbstractMemoryMapParser getChosenParser()
           
 String getConfigurationFile()
           
 List<MemoryMapGraphConfiguration> getGraphConfiguration()
           
 String getMapFile()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 Boolean getShowBytesOnGraph()
           
 Integer getWordSize()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setChosenParser(AbstractMemoryMapParser chosenParser)
           
 void setConfigurationFile(String configurationFile)
           
 void setGraphConfiguration(List<MemoryMapGraphConfiguration> graphConfiguration)
           
 void setMapFile(String mapFile)
           
 void setShowBytesOnGraph(Boolean showBytesOnGraph)
           
 void setWordSize(Integer wordSize)
           
 
Methods inherited from class hudson.tasks.Recorder
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectActions, prebuild
 

Constructor Detail

MemoryMapRecorder

@DataBoundConstructor
public MemoryMapRecorder(AbstractMemoryMapParser chosenParser,
                                              String configurationFile,
                                              boolean showBytesOnGraph,
                                              String wordSize)
Method Detail

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

getMapFile

public String getMapFile()
Returns:
the mapFile

setMapFile

public void setMapFile(String mapFile)
Parameters:
mapFile - the mapFile to set

getChosenParser

public AbstractMemoryMapParser getChosenParser()
Returns:
the chosenParser

setChosenParser

public void setChosenParser(AbstractMemoryMapParser chosenParser)
Parameters:
chosenParser - the chosenParser to set

getConfigurationFile

public String getConfigurationFile()
Returns:
the configurationFile

setConfigurationFile

public void setConfigurationFile(String configurationFile)
Parameters:
configurationFile - the configurationFile to set

getGraphConfiguration

public List<MemoryMapGraphConfiguration> getGraphConfiguration()
Returns:
the graphConfiguration

setGraphConfiguration

public void setGraphConfiguration(List<MemoryMapGraphConfiguration> graphConfiguration)
Parameters:
graphConfiguration - the graphConfiguration to set

getShowBytesOnGraph

public Boolean getShowBytesOnGraph()
Returns:
the showBytesOnGraph

setShowBytesOnGraph

public void setShowBytesOnGraph(Boolean showBytesOnGraph)
Parameters:
showBytesOnGraph - the showBytesOnGraph to set

getWordSize

public Integer getWordSize()
Returns:
the wordSize

setWordSize

public void setWordSize(Integer wordSize)
Parameters:
wordSize - the wordSize to set

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
Specified by:
getProjectAction in interface hudson.tasks.BuildStep
Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer


Copyright © 2004-2013. All Rights Reserved.