public interface Composition
See the
ScriptEnvironment
interface for general background information about this API.
Modifier and Type | Method and Description |
---|---|
boolean |
isAborting()
Returns an indication as to whether the Composition is currently trying
to abort due to a "force stop" request.
|
boolean |
isEnding()
Returns an indication as to whether the Composition is currently trying
to end early (before normal completion) for any reason, such as a stop
request or a fatal error.
|
boolean isAborting() throws ScriptEnvironmentException
Can be checked periodically by code that is doing a time-consuming operation, allowing it to terminate that operation early if it desires to do so
ScriptEnvironmentException
boolean isEnding() throws ScriptEnvironmentException
Can be checked periodically by code that is doing a time-consuming operation, allowing it to terminate that operation early if it desires to do so
ScriptEnvironmentException