Packageorg.spicefactory.lib.command.util
Classpublic class CommandUtil
InheritanceCommandUtil Inheritance Object

Utility methods for determining the capabilities of a target command.



Public Methods
 MethodDefined By
  
isCancellable(com:Command):Boolean
[static] Determines whether the target command can be cancelled.
CommandUtil
  
isSuspendable(com:Command):Boolean
[static] Determines whether the target command can be suspended.
CommandUtil
Method Detail
isCancellable()method
public static function isCancellable(com:Command):Boolean

Determines whether the target command can be cancelled.

Parameters

com:Command — the target command

Returns
Boolean — true if the target command can be cancelled
isSuspendable()method 
public static function isSuspendable(com:Command):Boolean

Determines whether the target command can be suspended.

Parameters

com:Command — the target command

Returns
Boolean — true if the target command can be suspended