org.hackystat.telemetry.analyzer.configuration
Class TelemetryStreamsDefinitionInfo

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

public class TelemetryStreamsDefinitionInfo
extends TelemetryDefinitionInfo

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

Author:
(Cedric) Qin Zhang

Constructor Summary
TelemetryStreamsDefinitionInfo(java.lang.String fullDefinitionString, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
TelemetryStreamsDefinitionInfo(TelemetryStreamsDefinition streamsDef, 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.
 TelemetryStreamsDefinition getStreamsDefinitionObject()
          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

TelemetryStreamsDefinitionInfo

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

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

TelemetryStreamsDefinitionInfo

public TelemetryStreamsDefinitionInfo(TelemetryStreamsDefinition streamsDef,
                                      org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                      ShareScope shareScope)
                               throws TelemetryConfigurationException
Constructs this instance.

Parameters:
streamsDef - Telemetry streams 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.

getStreamsDefinitionObject

public TelemetryStreamsDefinition getStreamsDefinitionObject()
Gets the abstract syntax tree representation of this telemetry report.

Returns:
The abstract syntax tree representation.