public abstract class BaseReportInstance extends AbstractReportInstance implements org.springframework.beans.factory.InitializingBean
BaseReportInstance class.
TODO: Merge this class withAbstractReportInstance
.Modifier | Constructor and Description |
---|---|
protected |
BaseReportInstance(AttributeStatisticVisitorWithResults visitor)
Constructor for UnfilteredReportInstance.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
String |
getAttributeMatch()
getAttributeMatch
|
String |
getConsolidationFunction()
getConsolidationFunction
|
int |
getCount()
getCount
|
long |
getEndTime()
getEndTime
|
String |
getResourceAttributeKey()
getResourceAttributeKey
|
String |
getResourceAttributeValueMatch()
getResourceAttributeValueMatch
|
String |
getResourceTypeMatch()
getResourceTypeMatch
|
SortedSet<AttributeStatistic> |
getResults()
getResults
|
long |
getStartTime()
getStartTime
|
abstract ResourceWalker |
getWalker() |
void |
setAttributeMatch(String attr)
setAttributeMatch
|
void |
setConsolidationFunction(String cf)
setConsolidationFunction
|
void |
setCount(int count)
setCount
|
void |
setEndTime(long end)
setEndTime
|
void |
setFetchStrategy(MeasurementFetchStrategy fetchStrategy) |
void |
setResourceAttributeKey(String resourceAttributeKey)
setResourceAttributeKey
|
void |
setResourceAttributeValueMatch(String resourceAttributeValueMatch)
setResourceAttributeValueMatch
|
void |
setResourceDao(ResourceDao resourceDao)
setResourceDao
|
void |
setResourceTypeMatch(String resourceType)
setResourceTypeMatch
|
void |
setStartTime(long start)
setStartTime
|
void |
walk()
walk
|
getDescription, getJobCompletedDate, getJobStartedDate, getName, getReportDefinition, getRetainInterval, setJobCompletedDate, setJobStartedDate, setReportDefinition, toString
protected BaseReportInstance(AttributeStatisticVisitorWithResults visitor)
Constructor for UnfilteredReportInstance.
visitor
- a AttributeStatisticVisitorWithResults
object.public abstract ResourceWalker getWalker()
public void setResourceDao(ResourceDao resourceDao)
setResourceDao
resourceDao
- a ResourceDao
object.public void setFetchStrategy(MeasurementFetchStrategy fetchStrategy)
public void walk()
walk
walk
in interface ReportInstance
public SortedSet<AttributeStatistic> getResults()
getResults
getResults
in interface ReportInstance
SortedSet
object.public String getResourceTypeMatch()
getResourceTypeMatch
getResourceTypeMatch
in interface ReportInstance
String
object.public void setResourceTypeMatch(String resourceType)
setResourceTypeMatch
setResourceTypeMatch
in interface ReportInstance
resourceType
- a String
object.public String getAttributeMatch()
getAttributeMatch
getAttributeMatch
in interface ReportInstance
String
object.public void setAttributeMatch(String attr)
setAttributeMatch
setAttributeMatch
in interface ReportInstance
attr
- a String
object.public long getStartTime()
getStartTime
getStartTime
in interface ReportInstance
public void setStartTime(long start)
setStartTime
setStartTime
in interface ReportInstance
start
- a long.public long getEndTime()
getEndTime
getEndTime
in interface ReportInstance
public void setEndTime(long end)
setEndTime
setEndTime
in interface ReportInstance
end
- a long.public String getConsolidationFunction()
getConsolidationFunction
getConsolidationFunction
in interface ReportInstance
String
object.public void setConsolidationFunction(String cf)
setConsolidationFunction
setConsolidationFunction
in interface ReportInstance
cf
- a String
object.public int getCount()
getCount
getCount
in interface ReportInstance
public void setCount(int count)
setCount
setCount
in interface ReportInstance
count
- a int.public void afterPropertiesSet()
afterPropertiesSet
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class AbstractReportInstance
public void setResourceAttributeKey(String resourceAttributeKey)
setResourceAttributeKey
setResourceAttributeKey
in interface ReportInstance
resourceAttributeKey
- a String
object.public void setResourceAttributeValueMatch(String resourceAttributeValueMatch)
setResourceAttributeValueMatch
setResourceAttributeValueMatch
in interface ReportInstance
resourceAttributeValueMatch
- a String
object.public String getResourceAttributeKey()
getResourceAttributeKey
getResourceAttributeKey
in interface ReportInstance
String
object.public String getResourceAttributeValueMatch()
getResourceAttributeValueMatch
getResourceAttributeValueMatch
in interface ReportInstance
String
object.Copyright © 2021. All rights reserved.