net.sf.staccatocommons.instrument.config
Class SimpleInstrumentationMark

java.lang.Object
  extended by net.sf.staccatocommons.instrument.config.SimpleInstrumentationMark
All Implemented Interfaces:
InstrumentationMark

public final class SimpleInstrumentationMark
extends Object
implements InstrumentationMark

Implementation of an InstrumentationMark where key and values are provided as attributes

Author:
flbulgarelli

Constructor Summary
SimpleInstrumentationMark(String markName, String markValue)
          Creates a new SimpleInstrumentationMark
 
Method Summary
 String getMarkAttributeName()
           
 byte[] getMarkAttributeValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInstrumentationMark

public SimpleInstrumentationMark(@NonNull
                                 String markName,
                                 @NonNull
                                 String markValue)
Creates a new SimpleInstrumentationMark

Method Detail

getMarkAttributeValue

public byte[] getMarkAttributeValue()
Specified by:
getMarkAttributeValue in interface InstrumentationMark
Returns:
The version number, as a class file version attribute value

getMarkAttributeName

public String getMarkAttributeName()
Specified by:
getMarkAttributeName in interface InstrumentationMark
Returns:
an attribute keyF added to processed class files


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.