com.hammurapi.flow.runtime
Interface PickyExecutor

All Superinterfaces:
Executor

public interface PickyExecutor
extends Executor

This interface allows to build stacks of executors with different capabilities.

Author:
Pavel Vlasov

Method Summary
 boolean canExecute(Runnable command)
           
 
Methods inherited from interface java.util.concurrent.Executor
execute
 

Method Detail

canExecute

boolean canExecute(Runnable command)
Parameters:
command -
Returns:
True if given executor can execute the command.