IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.execution.results.data
Interface IStatModelFacade

All Superinterfaces:
com.ibm.rpa.statistical.IRPAStatModelFacade

public interface IStatModelFacade
extends com.ibm.rpa.statistical.IRPAStatModelFacade

Inteface for accessing and modifying the TPTP Statistical Model designed specifically for use within the context of RPT but may have uses outside of RPT

Since:
7.0 - 2-Feb-2006

Field Summary
static String globalNodeName
          Deprecated. use IRPTStatModelConstants.RPT_AGGREGATE_NODE_NAME
 
Method Summary
 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. -- use #IStatModelFacade.getDescriptorChildrenMatchingUNCPath(List, EList)
 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. use IStatModelFacadeIStatModelFacade.getMonitor()
 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.
 
Methods inherited from interface com.ibm.rpa.statistical.IRPAStatModelFacade
contributeContiguousValue, contributeContiguousValue, contributeDiscreteValue, contributeDiscreteValue, contributeTextValue, contributeTextValue, contributeTextValue, createAgentForImport, deleteDescriptorRoot, getCounterDescriptorCreatingAsNeeded, getCounterDescriptorCreatingAsNeeded, getMemberDescriptorCreatingAsNeeded, getMonitorName, getMonitorURI, getNodeByName, getNodes, hasValidMonitor, isActive, saveMonitor, saveNodeAndChildResources, saveResources, setMonitor, setMonitorURIString
 

Field Detail

globalNodeName

static final String globalNodeName
Deprecated. use IRPTStatModelConstants.RPT_AGGREGATE_NODE_NAME
the name of the rpt aggregate node

See Also:
Constant Field Values
Method Detail

saveNodeAndChildResources

void saveNodeAndChildResources(String nodeName)
Deprecated. use saveNodeAndChildResources(String, IProgressMonitor)

saves all resources associated with a particular node in the statitical model.

Parameters:
nodeName -

getSampleIntervalWidth

int getSampleIntervalWidth(String nodeName,
                           int waitTime)
                           throws com.ibm.rpa.statistical.ModelFacadeException
returns the sample interval length as specified within the RPT schedule for this test run.

Parameters:
nodeName -
waitTime - waitTime = 0 --> no wait waitTime = -1 --> infinite wait waitTime = x --> finite wait.
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDescriptorAncestryMatchingUNCPath

org.eclipse.emf.common.util.EList getDescriptorAncestryMatchingUNCPath(List descriptorPathSegments,
                                                                       org.eclipse.emf.common.util.EList descriptors)
                                                                       throws com.ibm.rpa.statistical.ModelFacadeException
Deprecated. -- use #IStatModelFacade.getDescriptorChildrenMatchingUNCPath(List, EList)

drills into the descriptor hierarchy starting with the descriptors passed in and find descriptors whose modelpath matches the passed descriptorPathSegments collection. The descriptorPathSegments Collection is a collection of Strings matching an interesting path relative to the parent of each passed descriptor. For example, if you wanted to search for Run/Run Duration, a success would be found if "descriptors contained the "Run" descriptor and "descriptorPathSegments" was {"Run", "Run Duration"}. If other descriptors besides "Run" were contained in "descriptors", they would be filtered out.

Parameters:
descriptorPathSegments -
descriptors -
Returns:
EList containing relevant descriptors from search
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDescriptorChildrenMatchingUNCPath

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. The descriptorPathSegments Collection is a collection of Strings matching an interesting path relative to the parent of each passed descriptor. For example, if you wanted to search for Run/Run Duration, a success would be found if "descriptors contained the "Run" descriptor and "descriptorPathSegments" was {"Run", "Run Duration"}. If other descriptors besides "Run" were contained in "descriptors", they would be filtered out.

Parameters:
descriptorPathSegments -
descriptors -
Returns:
EList containing relevant descriptors from search

getMemberDescriptors

org.eclipse.emf.common.util.EList getMemberDescriptors(String nodeName,
                                                       List descriptorPathSegments)
                                                       throws com.ibm.rpa.statistical.ModelFacadeException
Drills into a TRCNode and finds member descriptors matching the passed descriptorPathSegments collection. Does not consider SDCounterDescriptors as valid. Does not wait if none are immediately found.

Parameters:
nodeName - -- the name of the node of interest in the search
descriptorPathSegments - -- collection indicating valid modelpath (may contain wildcard "*")
Returns:
EList containing relevant descriptors from search
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getCounterDescriptors

org.eclipse.emf.common.util.EList getCounterDescriptors(String nodeName,
                                                        List descriptorPathSegments)
                                                        throws com.ibm.rpa.statistical.ModelFacadeException
Drills into a TRCNode and returns Counter Descriptors matching the passed descriptorPathSegments collection. Only considers SDCounterDescriptors as valid. Does not wait if none are immediately found.

Parameters:
nodeName - -- the node of interest for the search
descriptorPathSegments - -- collecdtion indicating valid modelpath (may contain wildcard "*")
Returns:
EList containing relevant descriptors from search
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getCounterDescriptors

org.eclipse.emf.common.util.EList getCounterDescriptors(String nodeName,
                                                        String agentID,
                                                        List descriptorPathSegments)
                                                        throws com.ibm.rpa.statistical.ModelFacadeException
Drills into a TRCNode and Agent and returns Counter Descriptors matching the passed descriptorPathSegments collection. Only considers SDCounterDescriptors as valid. Does not wait if none are immediately found.

Parameters:
nodeName - -- the node of interest for the search
descriptorPathSegments - -- collecdtion indicating valid modelpath (may contain wildcard "*")
Returns:
EList containing relevant descriptors from search
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDescriptors

org.eclipse.emf.common.util.EList getDescriptors(String nodeName,
                                                 String agentID,
                                                 List descriptorPathSegments,
                                                 int waitTime)
                                                 throws com.ibm.rpa.statistical.ModelFacadeException
retrieves descriptors matching descriptorPathSegments. Considers both SDCountersDescriptors and SDDescriptors as valid

Parameters:
nodeName - -- the node of interest for the search
agentID - -- the name of the agent of interest for the search
descriptorPathSegments - -- 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.
Returns:
EList containing relevant descriptors from search
Throws:
com.ibm.rpa.statistical.ModelFacadeException

createBaseDescriptor

org.eclipse.hyades.model.statistical.SDDescriptor createBaseDescriptor(String nodeName,
                                                                       String agentID,
                                                                       String descriptorName,
                                                                       int waitTime)
                                                                       throws com.ibm.rpa.statistical.ModelFacadeException
creates a Descriptor rooted on a TRCAgent. Waits for specified node and agent to appear before creating the specified descriptor.

Parameters:
nodeName - -- name of node containing agent of interest
agentID - -- name of the agent on which the descriptor should be created
descriptorName - -- name of the descriptor which should be created
waitTime - -- 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.
Returns:
SDDescriptor created
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDescriptorChildren

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)

Parameters:
descriptors - -- parent descriptors for processing
Returns:
EList of all the children of all the passed in descriptors

createContiguousObservation

org.eclipse.hyades.model.statistical.SDContiguousObservation createContiguousObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
                                                                                         int sampleWindowIndex)
                                                                                         throws com.ibm.rpa.statistical.ModelFacadeException
creates a contiguous observation associated with the passed in counter descriptor

Parameters:
parentCounterDescriptor -
sampleWindowIndex - -- the index of the sampleWindow to hold the observation
Returns:
SDContiguousObservation created
Throws:
com.ibm.rpa.statistical.ModelFacadeException

createTextObservation

org.eclipse.hyades.model.statistical.SDTextObservation createTextObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
                                                                             int sampleWindowIndex)
                                                                             throws com.ibm.rpa.statistical.ModelFacadeException
creates a text observation associated with the passed in counter descriptor

Parameters:
parentCounterDescriptor -
sampleWindowIndex - -- the index of the sample window to hold this observation
Returns:
SDTextObservation created
Throws:
com.ibm.rpa.statistical.ModelFacadeException

createDescriptorPathOnParentCounterDescriptorAtEnd

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

Parameters:
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)
Returns:
SDCounterDescriptor -- the SDCounterDescriptor created by the call

createDescriptorPathOnParent

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

Parameters:
parentDescriptor -
descriptorPathSegments - -- describes hierarchy to be created
pathSegmentDescriptorIds - -- ids for descriptors (should be in same order as descriptorPathSegments)
Returns:
SDDescriptor -- the SDDescriptor created by the call

waitForObservation

org.eclipse.hyades.model.statistical.SDSnapshotObservation waitForObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                                                              int waitTime,
                                                                              int SampleWindowIndex)
                                                                              throws com.ibm.rpa.statistical.ModelFacadeException
waits for an observation to be populated in descriptor waits according to passed in waitTime. returns immediately regardless of wait setting if observation already exists

Parameters:
descriptor -
waitTime - wait = 0 --> no wait wait = -1 --> infinite wait wait = x --> finite wait
SampleWindowIndex -
Returns:
SDSnapshotObservation
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getSystemtimeForRunStart

double getSystemtimeForRunStart(String nodeName,
                                int waitTime)
                                throws com.ibm.rpa.statistical.ModelFacadeException
returns a double representing the system time at the start of the run (RPT specific)

Parameters:
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 wait
Returns:
double
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getMonitorStartTime

double getMonitorStartTime()
returns the start time as persisted in the TRCMonitor object

Returns:
double

getNormalizedRunTimeFromSystemBasedTime

long getNormalizedRunTimeFromSystemBasedTime(String nodeName,
                                             double time,
                                             int sampleWindowIndex)
                                             throws com.ibm.rpa.statistical.ModelFacadeException
returns the center of the RPT sample interval to which time belongs. The time returned from this call is relative to the beginning of the run.

Parameters:
nodeName - -- the name of the node from which the sample interval should be analyzed
time - -- the time value to be normalized
sampleWindowIndex -
Returns:
normalized time
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceContiguousObservationValueAtTime

boolean replaceContiguousObservationValueAtTime(double time,
                                                org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                                double newValue,
                                                int maxTimeInaccuracy,
                                                int sampleWindowIndex)
                                                throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in descriptor at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
descriptor - -- the descriptor to receive the replacement
newValue - -- the new double to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceContiguousObservationValueAtTime

boolean replaceContiguousObservationValueAtTime(double time,
                                                org.eclipse.hyades.model.statistical.SDContiguousObservation contiguousObservation,
                                                double newValue,
                                                int maxTimeInaccuracy)
                                                throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in observation at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
contiguousObservation - -- the observation to receive the replacement
newValue - -- the new double to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceTextObservationValueAtTime

boolean replaceTextObservationValueAtTime(double time,
                                          org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                          String newValue,
                                          int maxTimeInaccuracy,
                                          int sampleWindowIndex)
                                          throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in descriptor at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
descriptor - -- the descriptor to receive the replacement
newValue - -- the new String to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceTextObservationValueAtTime

boolean replaceTextObservationValueAtTime(double time,
                                          org.eclipse.hyades.model.statistical.SDTextObservation textObservation,
                                          String newValue,
                                          int maxTimeInaccuracy)
                                          throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in observation at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
textObservation - -- the observation to receive the replacement
newValue - -- the new String to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceDiscreteObservationValueAtTime

boolean replaceDiscreteObservationValueAtTime(double time,
                                              org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                              int newValue,
                                              int maxTimeInaccuracy,
                                              int sampleWindowIndex)
                                              throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in descriptor at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
descriptor - -- the descriptor to receive the replacement
newValue - -- the new int to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

replaceDiscreteObservationValueAtTime

boolean replaceDiscreteObservationValueAtTime(double time,
                                              org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation,
                                              int newValue,
                                              int maxTimeInaccuracy)
                                              throws com.ibm.rpa.statistical.ModelFacadeException
replaces data value in observation at specified time. Does not create new value if replacement fails.

Parameters:
time - -- the approximate epoch based time at which the replacement should be made
discreteObservation - -- the observation to receive the replacement
newValue - -- the new int to be used for the replacement
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
boolean indicating if replacement was possible
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getTimeIndex

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

Parameters:
observation - for analysis
time - of interest
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
int

getInsertionTimeIndex

int getInsertionTimeIndex(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs,
                          double creationTime,
                          int maxTimeInaccuracy)
                          throws com.ibm.rpa.statistical.ModelFacadeException
returns the index at which a value should be inserted into an observation for the time values to be in order.

Parameters:
obs - -- the observation for Analysis
creationTime - -- the time to be inserted
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
int
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getContiguousObservationValueAtTime

Double getContiguousObservationValueAtTime(double time,
                                           org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                           int maxTimeInaccuracy,
                                           int sampleWindowIndex)
                                           throws com.ibm.rpa.statistical.ModelFacadeException
returns Double value held by descriptor at specified time. Note: must be SDCounterDescriptor holding reference to an SDContiguousObservation *

Parameters:
time - of interest
descriptor - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
Double
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getContiguousObservationValueAtTime

Double getContiguousObservationValueAtTime(double time,
                                           org.eclipse.hyades.model.statistical.SDContiguousObservation contigousObservation,
                                           int maxTimeInaccuracy)
                                           throws com.ibm.rpa.statistical.ModelFacadeException
returns Double value held by observation at specified time

Parameters:
time - of interest
contigousObservation - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
Double
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDiscreteObservationValueAtTime

Integer getDiscreteObservationValueAtTime(double time,
                                          org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                          int maxTimeInaccuracy,
                                          int sampleWindowIndex)
                                          throws com.ibm.rpa.statistical.ModelFacadeException
returns Integer value held by descriptor at specified time. Note: must be SDCounterDescriptor holding reference to an SDDiscreteObservation

Parameters:
time - of interest
descriptor - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
Integer
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getDiscreteObservationValueAtTime

Integer getDiscreteObservationValueAtTime(double time,
                                          org.eclipse.hyades.model.statistical.SDDiscreteObservation discreteObservation,
                                          int maxTimeInaccuracy)
                                          throws com.ibm.rpa.statistical.ModelFacadeException
returns Integer value held by SDDiscreteObservation at specified time

Parameters:
time - of interest
discreteObservation - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
Integer
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getTextObservationValueAtTime

String getTextObservationValueAtTime(double time,
                                     org.eclipse.hyades.model.statistical.SDCounterDescriptor descriptor,
                                     int maxTimeInaccuracy,
                                     int sampleWindowIndex)
                                     throws com.ibm.rpa.statistical.ModelFacadeException
returns String value held by descriptor at specified time

Parameters:
time - of interest
descriptor - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
sampleWindowIndex -
Returns:
String
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getTextObservationValueAtTime

String getTextObservationValueAtTime(double time,
                                     org.eclipse.hyades.model.statistical.SDTextObservation textObservation,
                                     int maxTimeInaccuracy)
returns the String value held by textObservation at specified time

Parameters:
time - of interest
textObservation - for analysis
maxTimeInaccuracy - -- the 1/2 width of the time band to be used in determining if a value is valid for the replacement
Returns:
String

getSampleTimeByIndex

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

Parameters:
nodeName - -- the name of the node of interest
agentID - -- the name of the agent of interest
descriptorPaths - -- the model path to the SDDescriptor of interest
index - -- the index of the sample value you are intested in (0 based)
waitTime - wait = 0 -- no wait wait = -1 -- infinite wait wait = x -- finite wait
sampleWindowIndex - -- the index of the SDSampleWindow (or RPT Time Range) of focus

getSampleTimeByIndex

double getSampleTimeByIndex(int index,
                            org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
                            throws com.ibm.rpa.statistical.ModelFacadeException
returns the sample time by index for the passed in observation

Parameters:
index - of interest
obs - -- the observation for analysis
Returns:
double
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getLastSampleTime

long getLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
                       throws com.ibm.rpa.statistical.ModelFacadeException
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getNextToLastSampleTime

long getNextToLastSampleTime(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
                             throws com.ibm.rpa.statistical.ModelFacadeException
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getLastValue

Object getLastValue(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
returns the last data value in an observations data collection

Parameters:
obs - -- the observation from which to retrieve the last value
Returns:
Object (String, Double or Integer)

getDiscreteValueByIndex

int getDiscreteValueByIndex(int index,
                            org.eclipse.hyades.model.statistical.SDDiscreteObservation obs)
                            throws com.ibm.rpa.statistical.ModelFacadeException
returns the Integer value by index for the passed in SDDiscreteObservation

Parameters:
index - of intestest
obs - -- the observation for analysis
Returns:
int
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getSampleCount

int getSampleCount(org.eclipse.hyades.model.statistical.SDSnapshotObservation obs)
returns the number of samples in an observation

Parameters:
obs - -- the observation for analysis
Returns:
int

getObservationValueByIndex

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)

Parameters:
nodeName - -- the node of interest
agentID - -- the name of the agent from which the value should be pulled
valueIndex - -- the index of the
waitTime - -- 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 wait
sampleWindowIndex -

getObservationValueByIndex

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

Parameters:
obs -
index -
waitTime -
Returns:
Object

upDateDirtyGraphicsForNode

void upDateDirtyGraphicsForNode(String nodeName)
updates all report graphics which are focused on node specified and have been marked as "dirty"

Parameters:
nodeName -

getAllHostsNode

org.eclipse.hyades.models.hierarchy.TRCNode getAllHostsNode()
returns the "All_Hosts" or aggregate node.

Returns:
TRCNode

getPrimaryNode

org.eclipse.hyades.models.hierarchy.TRCNode getPrimaryNode()
for compatibility to initial release. returns "All_Hosts" node if it exists and first node listed in monitor's child list if all_Hosts node does not exist.

Returns:
TRCNode

getMonitorBaseFileName

String getMonitorBaseFileName()
returns the filename for the monitor asset with "platform/resource" and ".traxmi" removed.

Returns:
String

addMonitorAdapter

void addMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
called to add an Adapter to the TRCMonitor that this IStatModelFacade represents

Parameters:
adapter -

removeMonitorAdapter

void removeMonitorAdapter(org.eclipse.emf.common.notify.Adapter adapter)
called to remove an Adapter from the TRCMonitor that this IStatModelFacade represents

Parameters:
adapter -

removeMonitorAdapter

void removeMonitorAdapter(com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter adapter)
removes an RPTStatistical Adapter from event notification from the monitor

Parameters:
adapter -

addStatusListener

void addStatusListener(IStatModelFacadeStatusListener listener)
called to register for facade status changes.

Parameters:
listener - IStatModelFacadeStatusListener

removeStatusListener

void removeStatusListener(IStatModelFacadeStatusListener listener)
called to de-register IStatModelFacadeStatusListener when they are no longer needed

Parameters:
listener - IStatModelFacadeStatusListener

getAgent

org.eclipse.hyades.models.hierarchy.TRCAgent getAgent(String nodeName,
                                                      String agentID,
                                                      int waitTime)
                                                      throws com.ibm.rpa.statistical.ModelFacadeException
returns the agent identified by "agentID" which is a child of the specified node if it exists.

Parameters:
nodeName -
agentID -
waitTime - (0, finite number of milliseconds, or -1 for infinite wait)
Returns:
TRCAgent
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getAgents

org.eclipse.hyades.models.hierarchy.TRCAgent[] getAgents(String nodeName,
                                                         String agentID,
                                                         int waitTime)
                                                         throws com.ibm.rpa.statistical.ModelFacadeException
returns the agents identified by "agentID" which are children of the specified node if it exists.

Parameters:
nodeName -
agentID - (may be a !name)
waitTime - (0, finite number of milliseconds, or -1 for infinite wait)
Returns:
TRCAgent
Throws:
com.ibm.rpa.statistical.ModelFacadeException

createDiscreteObservation

org.eclipse.hyades.model.statistical.SDDiscreteObservation createDiscreteObservation(org.eclipse.hyades.model.statistical.SDCounterDescriptor parentCounterDescriptor,
                                                                                     int sampleWindowIndex)
                                                                                     throws com.ibm.rpa.statistical.ModelFacadeException
creates a discrete observation associated with the passed in counterdesriptor

Parameters:
parentCounterDescriptor -
sampleWindowIndex -
Returns:
SDDiscreteObservation created
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getTimeRangeController

com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRangeController getTimeRangeController()
returns the RPTTimeRangeController for this result


getTimeRangeController

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.

Parameters:
forceLoad -
Returns:

getDescriptorObservationBySampleWindowIndex

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

Parameters:
descriptor -
sampleWindowIndex -
Returns:
SDSnapshotObservation

getDiscreteObservationCreateIfNeeded

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

Parameters:
descriptor -
sampleWindowIndex -
Returns:
SDDiscreteObservation

getContiguousObservationCreateIfNeeded

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

Parameters:
descriptor -
sampleWindowIndex -
Returns:
SDContiguousObservation

getTextObservationCreateIfNeeded

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

Parameters:
descriptor -
sampleWindowIndex -
Returns:
SDTextObservation

saveOrReplaceDiscreteObservationValueAtIndex

void saveOrReplaceDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
                                                  int index,
                                                  int newValue,
                                                  double sampleTime)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -
sampleTime -

saveOrReplaceContiguousObservationValueAtIndex

void saveOrReplaceContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
                                                    int index,
                                                    double newValue,
                                                    double sampleTime)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -
sampleTime -

saveOrReplaceTextObservationValueAtIndex

void saveOrReplaceTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
                                              int index,
                                              String newValue,
                                              double sampleTime)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -
sampleTime -

removeDiscreteObservationValueAtIndex

void removeDiscreteObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDDiscreteObservation observation,
                                           int index)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -

removeContiguousObservationValueAtIndex

void removeContiguousObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDContiguousObservation observation,
                                             int index)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -

removeTextObservationValueAtIndex

void removeTextObservationValueAtIndex(org.eclipse.hyades.model.statistical.SDTextObservation observation,
                                       int index)
saves value at index specified. replaces current value held in that position if it exists

Parameters:
observation -
index -

extractTimeBands

com.ibm.rational.test.lt.execution.results.data.collections.ResultsList<AggregationTimeBand> extractTimeBands(String nodeName,
                                                                                                              int sampleWindowIndex)
                                                                                                              throws com.ibm.rpa.statistical.ModelFacadeException
returns the AggregationTimeBands for the indicated node and sampleWindow

Parameters:
nodeName -
sampleWindowIndex -
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getAggregationController

com.ibm.rational.test.lt.execution.results.internal.data.aggregation.AggregationController getAggregationController()
returns the AggregationController Associated with this result

Returns:
AggregationController

isLoaded

boolean isLoaded()
returns a boolean indicating whether or not this facade wraps a currently loaded model


getMostRecentClockValue

double getMostRecentClockValue(String nodeName,
                               int waitTime,
                               boolean convertToRunTime)
                               throws com.ibm.rpa.statistical.ModelFacadeException
returns the last report RPT run duration. If post run, then reports the time at the end of the run relative to the start of the run

Parameters:
nodeName -
waitTime -
convertToRunTime - if true, will convert to relative to run start rather than relative to epock
Returns:
double
Throws:
com.ibm.rpa.statistical.ModelFacadeException

getMonitor

org.eclipse.hyades.models.hierarchy.TRCMonitor getMonitor(boolean applyEventAdapters)
Deprecated. use IStatModelFacadeIStatModelFacade.getMonitor()

acquires a reference to the TRCMonitor wrapped by this facade if applyEventAdapters==false, monitor is acquired without propagating the hierarchy with event adapters

Returns:
TRCMonitor

getMonitor

org.eclipse.hyades.models.hierarchy.TRCMonitor getMonitor()
acquires a reference to the TRCMonitor wrapped by this facade

Specified by:
getMonitor in interface com.ibm.rpa.statistical.IRPAStatModelFacade
Returns:
TRCMonitor

getNodes

org.eclipse.emf.common.util.EList<org.eclipse.hyades.models.hierarchy.TRCNode> getNodes(boolean applyEventAdapters)
returns an Elist of TRCNodes

Parameters:
applyEventAdapters - indicates whether or not auto-propogation of event adapters should be applied
Returns:

getNodeByName

org.eclipse.hyades.models.hierarchy.TRCNode getNodeByName(String nodeName,
                                                          boolean applyEventAdapters)
Parameters:
applyEventAdapters -
Returns:

getAssetsList

com.ibm.rational.test.lt.execution.results.data.collections.StringList getAssetsList()
returns a list of asset paths associated with the wrapped result. includes all trace assets and the test log

Returns:

getFormattedMonitorName

String getFormattedMonitorName()
returns the name of this result with time stamp translated to a human readible date

Returns:

contributeContiguousValue

void contributeContiguousValue(double value,
                               double sampleTime,
                               org.eclipse.hyades.model.statistical.SDContiguousObservation observation)

contributeDiscreteValue

void contributeDiscreteValue(int value,
                             double sampleTime,
                             org.eclipse.hyades.model.statistical.SDDiscreteObservation observation)

getAdaptersToCleanup

Collection<com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter> getAdaptersToCleanup()

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.