public interface CyShutdown
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>
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.