Package com.tietoenator.trip.jxp.graph
Class TdbGraphNotification
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
com.tietoenator.trip.jxp.graph.TdbGraphNotification
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
public class TdbGraphNotification
extends TdbSessionObject
implements com.tietoenator.trip.jxp.internal.utils.DOMSink
Data provided with a graph analysis notification.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the paths so far fully determined to be part of the result of the current analysis operation.int
Total number of result paths so farint
The current total number of working paths.Returns the paths currently being analyzed.Methods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
Constructor Details
-
TdbGraphNotification
Constructor- Throws:
TdbException
- If the current session does not support notifications
-
-
Method Details
-
getWorkingPaths
Returns the paths currently being analyzed. This information is only provided if the graph notification detail type TdbGraphNotificationType.PATH_SNAPSHOT has been set to true using the method TdbGraph.setNotificationType. If the total number of working paths is very large, this array may not contain all of them.- Returns:
- Array of TdbGraphPath objects
-
getResultPaths
Returns the paths so far fully determined to be part of the result of the current analysis operation. This information is only provided if the graph notification detail type TdbGraphNotificationType.PATH_SNAPSHOT has been set to true using the method TdbGraph.setNotificationType. If the total number of working paths is very large, this array may not contain all of them.- Returns:
- Array of TdbGraphPath objects
-
getTotalWorkingCount
public int getTotalWorkingCount()The current total number of working paths.- Returns:
- Path count
-
getTotalResultCount
public int getTotalResultCount()Total number of result paths so far- Returns:
- Path count
-