org.hackystat.telemetry.analyzer.configuration
Class TelemetryReportDefinitionInfo

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionInfo
      extended by org.hackystat.telemetry.analyzer.configuration.TelemetryReportDefinitionInfo

public class TelemetryReportDefinitionInfo
extends TelemetryDefinitionInfo

Provides information about a Telemetry Report, including its name, its type (Report), and the definition.

Author:
(Cedric) Qin Zhang

Constructor Summary
TelemetryReportDefinitionInfo(java.lang.String fullDefinitionString, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
TelemetryReportDefinitionInfo(TelemetryReportDefinition reportDefinition, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
 
Method Summary
 java.lang.String getName()
          Gets the name of this telemetry definition.
 TelemetryReportDefinition getReportDefinitionObject()
          Gets the abstract syntax tree representation of this telemetry report.
 TelemetryDefinitionType getType()
          Gets telemetry definition type.
 
Methods inherited from class org.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionInfo
getDefinitionString, getOwner, getShareScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelemetryReportDefinitionInfo

public TelemetryReportDefinitionInfo(java.lang.String fullDefinitionString,
                                     org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                     ShareScope shareScope)
                              throws TelemetryConfigurationException
Constructs this instance.

Parameters:
fullDefinitionString - The defintion string.
owner - The owner of this definition.
shareScope - The share scope of this definition.
Throws:
TelemetryConfigurationException - If the definition string cannot be parsed.

TelemetryReportDefinitionInfo

public TelemetryReportDefinitionInfo(TelemetryReportDefinition reportDefinition,
                                     org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                     ShareScope shareScope)
                              throws TelemetryConfigurationException
Constructs this instance.

Parameters:
reportDefinition - The telemetry report definition object.
owner - The owner of this definition.
shareScope - The share scope of this definition.
Throws:
TelemetryConfigurationException - If the definition string cannot be parsed.
Method Detail

getName

public java.lang.String getName()
Gets the name of this telemetry definition.

Specified by:
getName in class TelemetryDefinitionInfo
Returns:
The name.

getType

public TelemetryDefinitionType getType()
Gets telemetry definition type.

Specified by:
getType in class TelemetryDefinitionInfo
Returns:
Telemetry definition type.

getReportDefinitionObject

public TelemetryReportDefinition getReportDefinitionObject()
Gets the abstract syntax tree representation of this telemetry report.

Returns:
The abstract syntax tree representation.