public interface AslGenerator extends ExecutionHandler
Modifier and Type | Method and Description |
---|---|
com.spss.ae.aslhelpers.AslFunction |
generateASL(AslContext aslContext)
Called when ASL needs to be generated.
|
boolean |
hasPostASLActions(AslContext aslContext)
Called immediately after
generateASL() has been called to determine
whether the runPostASLActions() function should be called once ASL
execution has completed. |
void |
runPostASLActions(AslContext aslContext,
boolean success)
Performs whatever actions are necessary once ASL execution has completed.
|
com.spss.ae.aslhelpers.AslFunction generateASL(AslContext aslContext) throws ExtensionException
aslContext
- the ASLContext that provides ASL-related servicesExtensionException
- if the ASL cannot be generated for some reasonboolean hasPostASLActions(AslContext aslContext) throws ExtensionException
generateASL()
has been called to determine
whether the runPostASLActions()
function should be called once ASL
execution has completed.aslContext
- the ASLContext that provides ASL-related servicestrue
if the generator needs to run actions after ASL execution
has completedExtensionException
- if the call fails for some reason#runPostASLActions(AslContext)
void runPostASLActions(AslContext aslContext, boolean success) throws ExtensionException
hasPostASLActions
returned true
.aslContext
- the ASLContext that provides ASL-related servicessuccess
- indicates whether the original ASL execution completed successfullyExtensionException
- if the actions cannot be completed for some reasonhasPostASLActions(AslContext)
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.