|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.util.CompoundStrategy
public class CompoundStrategy
Decorator to execute several strategies at once.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.rice.cs.cunit.instrumentors.util.IScannerStrategy |
|---|
IScannerStrategy.IScanResult |
| Field Summary | |
|---|---|
(package private) java.util.ArrayList<IInstrumentationStrategy> |
_combined
Contained strategies. |
(package private) java.util.List<java.lang.String> |
_parameters
Parameters for the instrumentors. |
| Constructor Summary | |
|---|---|
CompoundStrategy(java.util.List<java.lang.String> parameters)
Constructor for an empty compound strategy. |
|
CompoundStrategy(java.util.List<java.lang.String> parameters,
IInstrumentationStrategy[] contained)
Constructor for a compound strategy. |
|
| Method Summary | |
|---|---|
void |
done()
Instrumentation of all classes is done. |
java.util.List<IInstrumentationStrategy> |
getCombined()
Returns the list of combined strategies. |
java.util.List<IScannerStrategy.IScanResult> |
getScanResults()
Returns the combined list of all scan results. |
void |
instrument(ClassFile cf)
Instrument the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.List<java.lang.String> _parameters
java.util.ArrayList<IInstrumentationStrategy> _combined
| Constructor Detail |
|---|
public CompoundStrategy(java.util.List<java.lang.String> parameters)
parameters - parameters for the instrumentors
public CompoundStrategy(java.util.List<java.lang.String> parameters,
IInstrumentationStrategy[] contained)
parameters - parameters for the instrumentorscontained - strategies to combine| Method Detail |
|---|
public java.util.List<IInstrumentationStrategy> getCombined()
public void instrument(ClassFile cf)
instrument in interface IInstrumentationStrategycf - class file infopublic java.util.List<IScannerStrategy.IScanResult> getScanResults()
getScanResults in interface IScannerStrategypublic void done()
done in interface IInstrumentationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||