|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CyShutdown
A service that will shutdown Cytoscape cleanly. Will fire a CytoscapeShutdownEvent such that all CytoscapeShutdownListener will be notified before actually shutting down.
Module: application-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>application-api</artifactId>
</dependency>| Method Summary | |
|---|---|
void |
exit(int retVal)
Calling this method indicates that the application should shutdown. |
void |
exit(int retVal,
boolean force)
Calling this method indicates that the application should shutdown. |
| Method Detail |
|---|
void exit(int retVal)
retVal - The return value with which to (eventually)
call System.exit(int) with.
void exit(int retVal,
boolean force)
retVal - The return value with which to (eventually)force - If true, force shutdown without prompting user
call System.exit(int) with.
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||