Class AreaMetric
- java.lang.Object
- 
- bytemusketeers.heslingtonhustle.metrics.AreaMetric
 
- 
- All Implemented Interfaces:
- MetricEntry
 
 class AreaMetric extends java.lang.Object implements MetricEntry - Author:
- ENG1 Team 23 (Cohort 3)
 
- 
- 
Constructor SummaryConstructors Constructor Description AreaMetric(Area.Name initialArea)Instantiates a newAreaMetricwith the given initialArea.Name
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()Retrieves theareaassociated with theAreaMetric(package private) voidsetArea(Area.Name areaName)
 
- 
- 
- 
Field Detail- 
areaprivate Area.Name area - See Also:
- getValue()
 
 
- 
 - 
Constructor Detail- 
AreaMetricAreaMetric(Area.Name initialArea) Instantiates a newAreaMetricwith the given initialArea.Name- Parameters:
- initialArea- The initial- Area.Name
 
 
- 
 - 
Method Detail- 
getValuepublic java.lang.String getValue() Retrieves theareaassociated with theAreaMetric- Specified by:
- getValuein interface- MetricEntry
- Returns:
- A Stringrepresentation of thearea
 
 
- 
 
-