类 CompositeTaskDecorator
java.lang.Object
cn.taketoday.core.task.support.CompositeTaskDecorator
- 所有已实现的接口:
Decorator<Runnable>,TaskDecorator
Composite
TaskDecorator that delegates to other task decorators.- 从以下版本开始:
- 4.0
- 作者:
- Tadaya Tsuyukubo, Harry Yang
-
字段概要
字段 -
构造器概要
构造器构造器说明CompositeTaskDecorator(Collection<? extends TaskDecorator> taskDecorators) Create a new instance. -
方法概要
修饰符和类型方法说明Decorate the givenRunnable, returning a potentially wrappedRunnablefor actual execution, internally delegating to the originalRunnable.run()implementation.
-
字段详细资料
-
taskDecorators
-
-
构造器详细资料
-
CompositeTaskDecorator
Create a new instance.- 参数:
taskDecorators- the taskDecorators to delegate to
-
-
方法详细资料
-
decorate
从接口复制的说明:TaskDecoratorDecorate the givenRunnable, returning a potentially wrappedRunnablefor actual execution, internally delegating to the originalRunnable.run()implementation.- 指定者:
decorate在接口中Decorator<Runnable>- 指定者:
decorate在接口中TaskDecorator- 参数:
runnable- the originalRunnable- 返回:
- the decorated
Runnable
-