public interface CySessionManager
CySessionobject suitable for serialization. Likewise, setting a new session will replace the current session with a new one.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>session-api</artifactId> </dependency>
|Modifier and Type||Method and Description|
This method returns a
Returns the name of the current session file.
This method allows a new session to be set and in doing so erases and overrides the current session!
CySessionobject describing the current state of Cytoscape. The object returned is meant to be used for serialization and is not meant to be used interactively to track the state of Cytsocape.
session- The new session to be applied to Cytoscape.
fileName- The name of the file representing the new session.
Copyright 2011 Cytoscape Consortium. All rights reserved.