|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
be.lassi.web.coverage
Class Info
java.lang.Object be.lassi.web.coverage.Info
- Direct Known Subclasses:
- ClassInfo, FileInfo, PackageInfo, ProjectInfo
public abstract class Info
- extends java.lang.Object
Coverage information.
Constructor Summary | |
---|---|
Info()
|
Method Summary | |
---|---|
void |
calculate()
|
java.util.List<Info> |
getChildInfos()
Gets the coverage information about the elements contained in this element. |
java.util.List<Info> |
getChildInfosSortedByCoverage()
Gets the package coverage informations in sorted order. |
java.util.List<Info> |
getChildInfosSortedByWeight()
Gets the child coverage informations sorted by weight (child with most coverage missing has highest weight). |
abstract java.lang.String |
getChildType()
Gets the type of the child elements in this info. |
Metrics |
getMetrics()
Gets the coverage metrics. |
java.lang.String |
getName()
Gets the coverage information name. |
int |
getRelativeWeight()
Gets the weight relative to the weight of the element that is least covered in the container of this element. |
float |
getWeight()
Gets the weight of the missing coverage of this element compared to its container. |
void |
setName(java.lang.String name)
Sets the coverage information name. |
void |
setRelativeWeight(int relativeWeight)
Sets the weight relative to the weight of the element that is least covered in the container of this element. |
void |
setWeight(float weight)
Sets the weight of the missing coverage of this element compared to its container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Info
public Info()
Method Detail |
---|
calculate
public void calculate()
getChildInfos
public java.util.List<Info> getChildInfos()
- Gets the coverage information about the elements contained in
this element.
- Returns:
- a collection with the child element coverage information
getChildInfosSortedByCoverage
public java.util.List<Info> getChildInfosSortedByCoverage()
- Gets the package coverage informations in sorted order.
- Returns:
- the package coverage informations
getChildInfosSortedByWeight
public java.util.List<Info> getChildInfosSortedByWeight()
- Gets the child coverage informations sorted by weight (child with
most coverage missing has highest weight).
- Returns:
- the sorted child coverage informations
getChildType
public abstract java.lang.String getChildType()
- Gets the type of the child elements in this info.
- Returns:
- the child type
getMetrics
public Metrics getMetrics()
- Gets the coverage metrics.
- Returns:
- the coverage metrics
getName
public java.lang.String getName()
- Gets the coverage information name.
- Returns:
- the name
getRelativeWeight
public int getRelativeWeight()
- Gets the weight relative to the weight of the element that is least covered
in the container of this element.
- Returns:
- the relative weight
getWeight
public float getWeight()
- Gets the weight of the missing coverage of this element
compared to its container.
- Returns:
- the weight of missing coverage
setName
public void setName(java.lang.String name)
- Sets the coverage information name.
- Parameters:
name
- the name to be set
setRelativeWeight
public void setRelativeWeight(int relativeWeight)
- Sets the weight relative to the weight of the element that is least covered
in the container of this element.
- Parameters:
relativeWeight
- the relative weight
setWeight
public void setWeight(float weight)
- Sets the weight of the missing coverage of this element
compared to its container.
- Parameters:
weight
- the weight of missing coverage
|
Lighting Assistant 1.2 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |