public interface IStatModelFacade
extends com.ibm.rpa.statistical.IRPAStatModelFacade
| Modifier and Type | Field and Description |
|---|---|
static String |
globalNodeName
Deprecated.
use IRPTStatModelConstants.RPT_AGGREGATE_NODE_NAME
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
called to add an
Adapter to the TRCMonitor that this IStatModelFacade represents |
void |
addStatusListener(IStatModelFacadeStatusListener listener)
called to register for facade status changes.
|
void |
contributeContiguousValue(double value,
double sampleTime,
org.eclipse.hyades.model.statistical.SDContiguousObservation observation) |
void |
contributeDiscreteValue(int value,
double sampleTime,
org.eclipse.hyades.model.statistical.SDDiscreteObservation observation) |
org.eclipse.hyades.model.statistical.SDDescriptor |
createBaseDescriptor(String nodeName,
String agentID,
String descriptorName,
int waitTime)
creates a Descriptor rooted on a TRCAgent.
|
org.eclipse.hyades.model.statistical.SDContiguousObservation |
createContiguousObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
creates a contiguous observation associated with the passed in counter
descriptor
|
org.eclipse.hyades.model.statistical.SDDescriptor |
createDescriptorPathOnParent(org.eclipse.hyades.model.statistical.SDDescriptor parentDescriptor,
String[] descriptorPathSegments,
String[] pathSegmentDescriptorIds)
creates descriptor hierarchy on parentDescriptor with an SDDescriptor
(not SDCounterDescriptor)at the end of the hierarchy
|
org.eclipse.hyades.model.statistical.SDCounterDescriptor |
createDescriptorPathOnParentCounterDescriptorAtEnd(org.eclipse.hyades.model.statistical.SDDescriptor parentDescriptor,
String[] descriptorPathSegments,
String[] pathSegmentDescriptorIds)
creates descriptor hierarchy on parentDescriptor with an
SDCounterDescriptor at the end of the hierarchy
|
org.eclipse.hyades.model.statistical.SDDiscreteObservation |
createDiscreteObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
creates a discrete observation associated with the passed in
counterdesriptor
|
org.eclipse.hyades.model.statistical.SDTextObservation |
createTextObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
creates a text observation associated with the passed in counter
descriptor
|
com.ibm.rational.test.lt.execution.results.data.collections.ResultsList<AggregationTimeBand> |
extractTimeBands(String nodeName,
int sampleWindowIndex)
returns the AggregationTimeBands for the indicated node and sampleWindow
|
Collection<com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter> |
getAdaptersToCleanup() |
org.eclipse.hyades.models.hierarchy.TRCAgent |
getAgent(String nodeName,
String agentID,
int waitTime)
returns the agent identified by "agentID" which is a child of the
specified node if it exists.
|
org.eclipse.hyades.models.hierarchy.TRCAgent[] |
getAgents(String nodeName,
String agentID,
int waitTime)
returns the agents identified by "agentID" which are children of the
specified node if it exists.
|
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.AggregationController |
getAggregationController()
returns the AggregationController Associated with this result
|
org.eclipse.hyades.models.hierarchy.TRCNode |
getAllHostsNode()
returns the "All_Hosts" or aggregate node.
|
com.ibm.rational.test.lt.execution.results.data.collections.StringList |
getAssetsList()
returns a list of asset paths associated with the wrapped result.
|
org.eclipse.hyades.model.statistical.SDContiguousObservation |
getContiguousObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
returns specified observation creating one if parent observation does not already reference one in designated sample window
|
Double |
getContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDContiguousObservation contigousObservation,
int maxTimeInaccuracy)
returns Double value held by observation at specified time
|
Double |
getContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int maxTimeInaccuracy,
int sampleWindowIndex)
returns Double value held by descriptor at specified time.
|
org.eclipse.emf.common.util.EList |
getCounterDescriptors(String nodeName,
List descriptorPathSegments)
Drills into a TRCNode and returns Counter Descriptors matching the passed
descriptorPathSegments collection.
|
org.eclipse.emf.common.util.EList |
getCounterDescriptors(String nodeName,
String agentID,
List descriptorPathSegments)
Drills into a TRCNode and Agent and returns Counter Descriptors matching the passed
descriptorPathSegments collection.
|
org.eclipse.emf.common.util.EList |
getDescriptorAncestryMatchingUNCPath(List descriptorPathSegments,
org.eclipse.emf.common.util.EList descriptors)
Deprecated.
|
org.eclipse.emf.common.util.EList |
getDescriptorChildren(List descriptors)
returns a union collection of all the children of the passed in descriptor
collection (1st level only)
|
org.eclipse.emf.common.util.EList |
getDescriptorChildrenMatchingUNCPath(List descriptorPathSegments,
org.eclipse.emf.common.util.EList descriptors)
drills into the descriptor hierarchy starting with the descriptors passed
in and find descriptors whose modelpath matches the passed
descriptorPathSegments collection.
|
org.eclipse.hyades.model.statistical.SDSnapshotObservation |
getDescriptorObservationBySampleWindowIndex(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
returns a descriptors observation as represenative of the specified sampleWindow
|
org.eclipse.emf.common.util.EList |
getDescriptors(String nodeName,
String agentID,
List descriptorPathSegments,
int waitTime)
retrieves descriptors matching descriptorPathSegments.
|
org.eclipse.hyades.model.statistical.SDDiscreteObservation |
getDiscreteObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
returns specified observation creating one if parent observation does not already reference one in designated sample window
|
Integer |
getDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int maxTimeInaccuracy,
int sampleWindowIndex)
returns Integer value held by descriptor at specified time.
|
Integer |
getDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation,
int maxTimeInaccuracy)
returns Integer value held by SDDiscreteObservation at specified time
|
int |
getDiscreteValueByIndex(int index,
org.eclipse.hyades.model.statistical.SDDiscreteObservation obs)
returns the Integer value by index for the passed in SDDiscreteObservation
|
String |
getFormattedMonitorName()
returns the name of this result with time stamp translated to a human readible date
|
int |
getInsertionTimeIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs,
double creationTime,
int maxTimeInaccuracy)
returns the index at which a value should be inserted into an observation
for the time values to be in order.
|
long |
getLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs) |
Object |
getLastValue(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
returns the last data value in an observations data collection
|
org.eclipse.emf.common.util.EList |
getMemberDescriptors(String nodeName,
List descriptorPathSegments)
Drills into a TRCNode and finds member descriptors matching the passed
descriptorPathSegments collection.
|
org.eclipse.hyades.models.hierarchy.TRCMonitor |
getMonitor()
acquires a reference to the TRCMonitor wrapped by this facade
|
org.eclipse.hyades.models.hierarchy.TRCMonitor |
getMonitor(boolean applyEventAdapters)
Deprecated.
|
String |
getMonitorBaseFileName()
returns the filename for the monitor asset with "platform/resource" and ".traxmi" removed.
|
double |
getMonitorStartTime()
returns the start time as persisted in the TRCMonitor object
|
double |
getMostRecentClockValue(String nodeName,
int waitTime,
boolean convertToRunTime)
returns the last report RPT run duration.
|
long |
getNextToLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs) |
org.eclipse.hyades.models.hierarchy.TRCNode |
getNodeByName(String nodeName,
boolean applyEventAdapters) |
org.eclipse.emf.common.util.EList<org.eclipse.hyades.models.hierarchy.TRCNode> |
getNodes(boolean applyEventAdapters)
returns an Elist of TRCNodes
|
long |
getNormalizedRunTimeFromSystemBasedTime(String nodeName,
double time,
int sampleWindowIndex)
returns the center of the RPT sample interval to which time belongs.
|
Object |
getObservationValueByIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs,
int index,
int waitTime)
returns a value object from an observation given the index of the value desired
|
Object |
getObservationValueByIndex(String nodeName,
String agentID,
org.eclipse.emf.common.util.EList descriptorPaths,
int valueIndex,
int waitTime,
int sampleWindowIndex)
returns a generic Sample Value by index (may be Integer, String, or Double)
|
org.eclipse.hyades.models.hierarchy.TRCNode |
getPrimaryNode()
for compatibility to initial release.
|
int |
getSampleCount(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
returns the number of samples in an observation
|
int |
getSampleIntervalWidth(String nodeName,
int waitTime)
returns the sample interval length as specified within the RPT schedule for this test run.
|
double |
getSampleTimeByIndex(int index,
org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
returns the sample time by index for the passed in observation
|
double |
getSampleTimeByIndex(String nodeName,
String agentID,
org.eclipse.emf.common.util.EList descriptorPaths,
int index,
int waitTime,
int sampleWindowIndex)
returns the sample time by index
|
double |
getSystemtimeForRunStart(String nodeName,
int waitTime)
returns a double representing the system time at the start of the run (RPT specific)
|
org.eclipse.hyades.model.statistical.SDTextObservation |
getTextObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
returns specified observation creating one if parent observation does not already reference one in designated sample window
|
String |
getTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int maxTimeInaccuracy,
int sampleWindowIndex)
returns String value held by descriptor at specified time
|
String |
getTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDTextObservation textObservation,
int maxTimeInaccuracy)
returns the String value held by textObservation at specified time
|
int |
getTimeIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation observation,
double time,
int maxTimeInaccuracy)
returns the index of the time value as represented in the observation
|
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRangeController |
getTimeRangeController()
returns the RPTTimeRangeController for this result
|
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRangeController |
getTimeRangeController(boolean forceLoad)
returns the RPTTimeRangeController for this results
if forceLoad==true, the model is forced into memory to resolve data if necessary.
|
boolean |
isLoaded()
returns a boolean indicating whether or not this facade wraps a currently loaded model
|
void |
removeContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
int index)
saves value at index specified.
|
void |
removeDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
int index)
saves value at index specified.
|
void |
removeMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
called to remove an
Adapter from the TRCMonitor that this IStatModelFacade represents |
void |
removeMonitorAdapter(com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter adapter)
removes an RPTStatistical Adapter from event notification from the monitor
|
void |
removeStatusListener(IStatModelFacadeStatusListener listener)
called to de-register IStatModelFacadeStatusListener when they are no
longer needed
|
void |
removeTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
int index)
saves value at index specified.
|
boolean |
replaceContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDContiguousObservation contiguousObservation,
double newValue,
int maxTimeInaccuracy)
replaces data value in observation at specified time.
|
boolean |
replaceContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
double newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
replaces data value in descriptor at specified time.
|
boolean |
replaceDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
replaces data value in descriptor at specified time.
|
boolean |
replaceDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation,
int newValue,
int maxTimeInaccuracy)
replaces data value in observation at specified time.
|
boolean |
replaceTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
String newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
replaces data value in descriptor at specified time.
|
boolean |
replaceTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDTextObservation textObservation,
String newValue,
int maxTimeInaccuracy)
replaces data value in observation at specified time.
|
void |
saveNodeAndChildResources(String nodeName)
Deprecated.
use saveNodeAndChildResources(String, IProgressMonitor)
|
void |
saveOrReplaceContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
int index,
double newValue,
double sampleTime)
saves value at index specified.
|
void |
saveOrReplaceDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
int index,
int newValue,
double sampleTime)
saves value at index specified.
|
void |
saveOrReplaceTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
int index,
String newValue,
double sampleTime)
saves value at index specified.
|
void |
upDateDirtyGraphicsForNode(String nodeName)
updates all report graphics which are focused on node specified and have been marked as "dirty"
|
org.eclipse.hyades.model.statistical.SDSnapshotObservation |
waitForObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int waitTime,
int SampleWindowIndex)
waits for an observation to be populated in descriptor waits according to
passed in waitTime.
|
contributeContiguousValue, contributeContiguousValue, contributeDiscreteValue, contributeDiscreteValue, contributeTextValue, contributeTextValue, contributeTextValue, createAgentForImport, deleteDescriptorRoot, getCounterDescriptorCreatingAsNeeded, getCounterDescriptorCreatingAsNeeded, getMemberDescriptorCreatingAsNeeded, getMonitorName, getMonitorURI, getNodeByName, getNodes, hasValidMonitor, isActive, saveMonitor, saveNodeAndChildResources, saveResources, setMonitor, setMonitorURIStringstatic final String globalNodeName
void saveNodeAndChildResources(String nodeName)
nodeName - int getSampleIntervalWidth(String nodeName, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - waitTime - waitTime = 0 --> no wait waitTime = -1 --> infinite wait
waitTime = x --> finite wait.com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getDescriptorAncestryMatchingUNCPath(List descriptorPathSegments, org.eclipse.emf.common.util.EList descriptors) throws com.ibm.rpa.statistical.ModelFacadeException
IStatModelFacade.getDescriptorChildrenMatchingUNCPath(List, EList)descriptorPathSegments - descriptors - com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getDescriptorChildrenMatchingUNCPath(List descriptorPathSegments, org.eclipse.emf.common.util.EList descriptors)
descriptorPathSegments - descriptors - org.eclipse.emf.common.util.EList getMemberDescriptors(String nodeName, List descriptorPathSegments) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- the name of the node of interest in the searchdescriptorPathSegments - -- collection indicating valid modelpath (may contain wildcard "*")com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getCounterDescriptors(String nodeName, List descriptorPathSegments) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- the node of interest for the searchdescriptorPathSegments - -- collecdtion indicating valid modelpath (may contain wildcard "*")com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getCounterDescriptors(String nodeName, String agentID, List descriptorPathSegments) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- the node of interest for the searchdescriptorPathSegments - -- collecdtion indicating valid modelpath (may contain wildcard "*")com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getDescriptors(String nodeName, String agentID, List descriptorPathSegments, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- the node of interest for the searchagentID - -- the name of the agent of interest for the searchdescriptorPathSegments - -- collection indicating valid modelpath (may contain wildcard "*")waitTime - -- how long to wait for descriptors to appear if running in realtime
waitTime waitTime = 0 --> no wait waitTime = -1 --> infinite
wait waitTime = x --> finite wait.com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.model.statistical.SDDescriptor createBaseDescriptor(String nodeName, String agentID, String descriptorName, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- name of node containing agent of interestagentID - -- name of the agent on which the descriptor should be createddescriptorName - -- name of the descriptor which should be createdwaitTime - -- the amount of time to wait for the desired node/agent pair to appear.
waitTime = 0 --> no wait waitTime = -1 --> infinite wait
waitTime = x --> finite wait.com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.emf.common.util.EList getDescriptorChildren(List descriptors)
descriptors - -- parent descriptors for processingorg.eclipse.hyades.model.statistical.SDContiguousObservation createContiguousObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
parentCounterDescriptor - sampleWindowIndex - --
the index of the sampleWindow to hold the observationcom.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.model.statistical.SDTextObservation createTextObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
parentCounterDescriptor - sampleWindowIndex - -- the index of the sample window to hold this
observationcom.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.model.statistical.SDCounterDescriptor createDescriptorPathOnParentCounterDescriptorAtEnd(org.eclipse.hyades.model.statistical.SDDescriptor parentDescriptor,
String[] descriptorPathSegments,
String[] pathSegmentDescriptorIds)
parentDescriptor - descriptorPathSegments - -- modelpath describing descriptor to create (no wildcards allowed)pathSegmentDescriptorIds - -- ids to be used for each descriptor created (should be in same order as descriptorPathSegments)org.eclipse.hyades.model.statistical.SDDescriptor createDescriptorPathOnParent(org.eclipse.hyades.model.statistical.SDDescriptor parentDescriptor,
String[] descriptorPathSegments,
String[] pathSegmentDescriptorIds)
parentDescriptor - descriptorPathSegments - -- describes hierarchy to be createdpathSegmentDescriptorIds - -- ids for descriptors (should be in same order as descriptorPathSegments)org.eclipse.hyades.model.statistical.SDSnapshotObservation waitForObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int waitTime,
int SampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
descriptor - waitTime - wait = 0 --> no wait
wait = -1 --> infinite wait
wait = x --> finite waitSampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptiondouble getSystemtimeForRunStart(String nodeName, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- name of node from which to acquire the time value (may be null to use "All_Hosts")waitTime - -- amount of time to wait for value to appear if running in real time. Returns immediatly if possible
wait = 0 --> no wait
wait = -1 --> infinite wait
wait = x --> finite waitcom.ibm.rpa.statistical.ModelFacadeExceptiondouble getMonitorStartTime()
long getNormalizedRunTimeFromSystemBasedTime(String nodeName, double time, int sampleWindowIndex) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - -- the name of the node from which the sample interval should be analyzedtime - -- the time value to be normalizedsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
double newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madedescriptor - -- the descriptor to receive the replacementnewValue - -- the new double to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceContiguousObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDContiguousObservation contiguousObservation,
double newValue,
int maxTimeInaccuracy)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madecontiguousObservation - -- the observation to receive the replacementnewValue - -- the new double to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
String newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madedescriptor - -- the descriptor to receive the replacementnewValue - -- the new String to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceTextObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDTextObservation textObservation,
String newValue,
int maxTimeInaccuracy)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madetextObservation - -- the observation to receive the replacementnewValue - -- the new String to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int newValue,
int maxTimeInaccuracy,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madedescriptor - -- the descriptor to receive the replacementnewValue - -- the new int to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionboolean replaceDiscreteObservationValueAtTime(double time,
org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation,
int newValue,
int maxTimeInaccuracy)
throws com.ibm.rpa.statistical.ModelFacadeException
time - -- the approximate epoch based time at which the replacement should be madediscreteObservation - -- the observation to receive the replacementnewValue - -- the new int to be used for the replacementmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionint getTimeIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation observation,
double time,
int maxTimeInaccuracy)
observation - for analysistime - of interestmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementint getInsertionTimeIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs,
double creationTime,
int maxTimeInaccuracy)
throws com.ibm.rpa.statistical.ModelFacadeException
obs - -- the observation for AnalysiscreationTime - -- the time to be insertedmaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionDouble getContiguousObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor, int maxTimeInaccuracy, int sampleWindowIndex) throws com.ibm.rpa.statistical.ModelFacadeException
time - of interestdescriptor - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionDouble getContiguousObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDContiguousObservation contigousObservation, int maxTimeInaccuracy) throws com.ibm.rpa.statistical.ModelFacadeException
time - of interestcontigousObservation - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionInteger getDiscreteObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor, int maxTimeInaccuracy, int sampleWindowIndex) throws com.ibm.rpa.statistical.ModelFacadeException
time - of interestdescriptor - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionInteger getDiscreteObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation, int maxTimeInaccuracy) throws com.ibm.rpa.statistical.ModelFacadeException
time - of interestdiscreteObservation - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementcom.ibm.rpa.statistical.ModelFacadeExceptionString getTextObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor, int maxTimeInaccuracy, int sampleWindowIndex) throws com.ibm.rpa.statistical.ModelFacadeException
time - of interestdescriptor - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementsampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptionString getTextObservationValueAtTime(double time, org.eclipse.hyades.model.statistical.SDTextObservation textObservation, int maxTimeInaccuracy)
time - of interesttextObservation - for analysismaxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacementdouble getSampleTimeByIndex(String nodeName, String agentID, org.eclipse.emf.common.util.EList descriptorPaths, int index, int waitTime, int sampleWindowIndex)
nodeName - -- the name of the node of interestagentID - -- the name of the agent of interestdescriptorPaths - -- the model path to the SDDescriptor of interestindex - -- the index of the sample value you are intested in (0 based)waitTime - wait = 0 -- no wait
wait = -1 -- infinite wait
wait = x -- finite waitsampleWindowIndex - -- the index of the SDSampleWindow (or RPT Time Range) of focusdouble getSampleTimeByIndex(int index,
org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
throws com.ibm.rpa.statistical.ModelFacadeException
index - of interestobs - -- the observation for analysiscom.ibm.rpa.statistical.ModelFacadeExceptionlong getLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
throws com.ibm.rpa.statistical.ModelFacadeException
com.ibm.rpa.statistical.ModelFacadeExceptionlong getNextToLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
throws com.ibm.rpa.statistical.ModelFacadeException
com.ibm.rpa.statistical.ModelFacadeExceptionObject getLastValue(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
obs - -- the observation from which to retrieve the last valueint getDiscreteValueByIndex(int index,
org.eclipse.hyades.model.statistical.SDDiscreteObservation obs)
throws com.ibm.rpa.statistical.ModelFacadeException
index - of intestestobs - -- the observation for analysiscom.ibm.rpa.statistical.ModelFacadeExceptionint getSampleCount(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
obs - -- the observation for analysisObject getObservationValueByIndex(String nodeName, String agentID, org.eclipse.emf.common.util.EList descriptorPaths, int valueIndex, int waitTime, int sampleWindowIndex)
nodeName - -- the node of interestagentID - -- the name of the agent from which the value should be pulledvalueIndex - -- the index of thewaitTime - -- the amount of time to wait for observation to appear if running in "active" mode.
wait = 0 --> no wait
wait = -1 --> infinite wait
wait = x --> finite waitsampleWindowIndex - Object getObservationValueByIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs, int index, int waitTime)
obs - index - waitTime - void upDateDirtyGraphicsForNode(String nodeName)
nodeName - org.eclipse.hyades.models.hierarchy.TRCNode getAllHostsNode()
org.eclipse.hyades.models.hierarchy.TRCNode getPrimaryNode()
String getMonitorBaseFileName()
void addMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
Adapter to the TRCMonitor that this IStatModelFacade representsadapter - void removeMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
Adapter from the TRCMonitor that this IStatModelFacade representsadapter - void removeMonitorAdapter(com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter adapter)
adapter - void addStatusListener(IStatModelFacadeStatusListener listener)
listener - IStatModelFacadeStatusListenervoid removeStatusListener(IStatModelFacadeStatusListener listener)
listener - IStatModelFacadeStatusListenerorg.eclipse.hyades.models.hierarchy.TRCAgent getAgent(String nodeName, String agentID, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - agentID - waitTime - (0, finite number of milliseconds, or -1 for infinite wait)com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.models.hierarchy.TRCAgent[] getAgents(String nodeName, String agentID, int waitTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - agentID - (may be a !name)waitTime - (0, finite number of milliseconds, or -1 for infinite wait)com.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.model.statistical.SDDiscreteObservation createDiscreteObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
int sampleWindowIndex)
throws com.ibm.rpa.statistical.ModelFacadeException
parentCounterDescriptor - sampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptioncom.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRangeController getTimeRangeController()
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRangeController getTimeRangeController(boolean forceLoad)
forceLoad - org.eclipse.hyades.model.statistical.SDSnapshotObservation getDescriptorObservationBySampleWindowIndex(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
descriptor - sampleWindowIndex - SDSnapshotObservationorg.eclipse.hyades.model.statistical.SDDiscreteObservation getDiscreteObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
descriptor - sampleWindowIndex - SDDiscreteObservationorg.eclipse.hyades.model.statistical.SDContiguousObservation getContiguousObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
descriptor - sampleWindowIndex - SDContiguousObservationorg.eclipse.hyades.model.statistical.SDTextObservation getTextObservationCreateIfNeeded(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
int sampleWindowIndex)
descriptor - sampleWindowIndex - SDTextObservationvoid saveOrReplaceDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
int index,
int newValue,
double sampleTime)
observation - index - sampleTime - void saveOrReplaceContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
int index,
double newValue,
double sampleTime)
observation - index - sampleTime - void saveOrReplaceTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
int index,
String newValue,
double sampleTime)
observation - index - sampleTime - void removeDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
int index)
observation - index - void removeContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
int index)
observation - index - void removeTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
int index)
observation - index - com.ibm.rational.test.lt.execution.results.data.collections.ResultsList<AggregationTimeBand> extractTimeBands(String nodeName, int sampleWindowIndex) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - sampleWindowIndex - com.ibm.rpa.statistical.ModelFacadeExceptioncom.ibm.rational.test.lt.execution.results.internal.data.aggregation.AggregationController getAggregationController()
AggregationControllerboolean isLoaded()
double getMostRecentClockValue(String nodeName, int waitTime, boolean convertToRunTime) throws com.ibm.rpa.statistical.ModelFacadeException
nodeName - waitTime - convertToRunTime - if true, will convert to relative to run start rather than relative to epockcom.ibm.rpa.statistical.ModelFacadeExceptionorg.eclipse.hyades.models.hierarchy.TRCMonitor getMonitor(boolean applyEventAdapters)
org.eclipse.hyades.models.hierarchy.TRCMonitor getMonitor()
getMonitor in interface com.ibm.rpa.statistical.IRPAStatModelFacadeorg.eclipse.emf.common.util.EList<org.eclipse.hyades.models.hierarchy.TRCNode> getNodes(boolean applyEventAdapters)
applyEventAdapters - indicates whether or not auto-propogation of event adapters should be appliedorg.eclipse.hyades.models.hierarchy.TRCNode getNodeByName(String nodeName, boolean applyEventAdapters)
applyEventAdapters - com.ibm.rational.test.lt.execution.results.data.collections.StringList getAssetsList()
String getFormattedMonitorName()
void contributeContiguousValue(double value,
double sampleTime,
org.eclipse.hyades.model.statistical.SDContiguousObservation observation)
void contributeDiscreteValue(int value,
double sampleTime,
org.eclipse.hyades.model.statistical.SDDiscreteObservation observation)
Collection<com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter> getAdaptersToCleanup()
© Copyright IBM Corp. 2013. All rights reserved.