Package org.cytoscape.session.events
Class SessionSaveCancelledEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<Object>
-
- org.cytoscape.session.events.SessionSaveCancelledEvent
-
public final class SessionSaveCancelledEvent extends AbstractCyEvent<Object>
This event is fired when a session save task is cancelled, which can also happen because of exceptions.Module:
session-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>session-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
-
-
Constructor Summary
Constructors Constructor Description SessionSaveCancelledEvent(Object source)
Constructor.SessionSaveCancelledEvent(Object source, Exception exception)
Use this constructor if the session save was cancelled because of an exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getException()
-
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
-
-
-
Constructor Detail
-
SessionSaveCancelledEvent
public SessionSaveCancelledEvent(Object source)
Constructor.- Parameters:
source
- The object that fired this event.
-
-
Method Detail
-
getException
public Exception getException()
- Returns:
- The exception that cancelled the session save task or null, if it was not interrupted by an exception.
-
-