net.praqma.jenkins.memorymap.parser
Class AbstractMemoryMapParser
java.lang.Object
net.praqma.jenkins.memorymap.parser.AbstractMemoryMapParser
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<AbstractMemoryMapParser>, Serializable, MemoryMapParsable
- Direct Known Subclasses:
- GccMemoryMapParser, KeilMemoryMapParser, TexasInstrumentsMemoryMapParser
public abstract class AbstractMemoryMapParser
- extends Object
- implements hudson.model.Describable<AbstractMemoryMapParser>, hudson.ExtensionPoint, MemoryMapParsable, Serializable
- Author:
- Praqma
- 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 |
logger
protected static final Logger logger
patterns
protected List<Pattern> patterns
mapFile
protected String mapFile
AbstractMemoryMapParser
public AbstractMemoryMapParser()
AbstractMemoryMapParser
public AbstractMemoryMapParser(String mapFile,
String configurationFile,
Integer wordSize,
Boolean bytesOnGraph,
Pattern... pattern)
createCharSequenceFromFile
protected CharSequence createCharSequenceFromFile(File f)
throws IOException
- Throws:
IOException
createCharSequenceFromFile
protected CharSequence createCharSequenceFromFile(String charset,
File f)
throws IOException
- Throws:
IOException
parseConfigFile
public MemoryMapConfigMemory parseConfigFile(List<MemoryMapGraphConfiguration> graphConfig,
File f)
throws IOException
- Specified by:
parseConfigFile in interface MemoryMapParsable
- Returns:
-
- Throws:
IOException
parseMapFile
public MemoryMapConfigMemory parseMapFile(File f,
MemoryMapConfigMemory configuration)
throws IOException
- Description copied from interface:
MemoryMapParsable
- This method needs to overriden in a subclass of AbstractMemoryMapParser.
- Specified by:
parseMapFile in interface MemoryMapParsable
- Returns:
-
- Throws:
IOException
getMapFile
public String getMapFile()
- Returns:
- the includeFilePattern
setMapFile
public void setMapFile(String mapFile)
- Parameters:
includeFilePattern - the includeFilePattern to set
getDescriptor
public hudson.model.Descriptor<AbstractMemoryMapParser> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<AbstractMemoryMapParser>
all
public static hudson.DescriptorExtensionList<AbstractMemoryMapParser,MemoryMapParserDescriptor<AbstractMemoryMapParser>> all()
- All registered
AbstractConfigurationRotatorSCMs.
getDescriptors
public static List<MemoryMapParserDescriptor<?>> getDescriptors()
getWordSize
public Integer getWordSize()
- Returns:
- the wordSize
setWordSize
public void setWordSize(Integer wordSize)
- Parameters:
wordSize - the wordSize to set
getBytesOnGraph
public Boolean getBytesOnGraph()
- Returns:
- the bytesOnGraph
setBytesOnGraph
public void setBytesOnGraph(Boolean bytesOnGraph)
- Parameters:
bytesOnGraph - the bytesOnGraph to set
getConfigurationFile
public String getConfigurationFile()
- Returns:
- the configurationFile
setConfigurationFile
public void setConfigurationFile(String configurationFile)
- Parameters:
configurationFile - the configurationFile to set
Copyright © 2004-2013. All Rights Reserved.