|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.codecoverage.v2.datastore.AnalysisModuleSet
Contains data associated with each analysis module.
Constructor Summary | |
AnalysisModuleSet()
Default constructor |
|
AnalysisModuleSet(AnalysisModuleSet ams)
Copy ams's modules into this new set. |
|
AnalysisModuleSet(IAnalysisModule[] modules)
Create an instance using the given array of modules as the default set. |
Method Summary | |
void |
addAnalysisModule(IAnalysisModule module)
Add a module to the set. |
void |
addAnalysisModules(IAnalysisModule[] modules)
Add an array of modules to this set. |
IAnalysisModule |
getAnalysisModuleAt(short index)
Returns the module stored at the given index index. |
int |
getAnalysisModuleCount()
Retrieve the number of modules stored in this set. |
short |
getAnalysisModuleIndex(IAnalysisModule am)
Returns the module am's index. |
IAnalysisModule[] |
getAnalysisModules()
Return a complete list of modules in order. |
short |
getMeasureIndex(java.lang.String measureName)
Retrieves the index associated with the module with the given measure name. |
void |
joinAnalysisModuleSet(AnalysisModuleSet set)
Join a module set to this set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AnalysisModuleSet()
public AnalysisModuleSet(IAnalysisModule[] modules)
modules
- collection of modules to initialize the set with.
java.lang.IllegalArgumentException
- if modules is
null.public AnalysisModuleSet(AnalysisModuleSet ams)
ams
- the set to copy from
java.lang.IllegalArgumentException
- if ams is null.Method Detail |
public void addAnalysisModules(IAnalysisModule[] modules)
modules
- the array of modules to add to the set
java.lang.IllegalArgumentException
- if modules is
null, or if any element in the array is null.public void addAnalysisModule(IAnalysisModule module)
module
- the module to add.
java.lang.IllegalArgumentException
- if module is null.
java.lang.IllegalStateException
- if module has a measure name
that is the same as a previously added module.public void joinAnalysisModuleSet(AnalysisModuleSet set)
set
- the module set to add.
java.lang.IllegalArgumentException
- if set is null.public IAnalysisModule[] getAnalysisModules()
public short getMeasureIndex(java.lang.String measureName)
measureName
- the measure name of the module.
java.lang.IllegalArgumentException
- if measureName is
null.getAnalysisModuleIndex( IAnalysisModule )
public short getAnalysisModuleIndex(IAnalysisModule am)
am
- the module.
java.lang.IllegalArgumentException
- if am is null.#getMeasureIndex( Stirng )
public int getAnalysisModuleCount()
public IAnalysisModule getAnalysisModuleAt(short index)
java.lang.IllegalArgumentException
- if index is less than 0
or greater than or equal to the returned value of
getAnalysisModuleCount().
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |