类 CompositeTaskDecorator

java.lang.Object
cn.taketoday.core.task.support.CompositeTaskDecorator
所有已实现的接口:
TaskDecorator

public class CompositeTaskDecorator extends Object implements TaskDecorator
Composite TaskDecorator that delegates to other task decorators.
从以下版本开始:
4.0
作者:
Tadaya Tsuyukubo, Harry Yang
  • 字段详细资料

  • 构造器详细资料

    • CompositeTaskDecorator

      public CompositeTaskDecorator(Collection<? extends TaskDecorator> taskDecorators)
      Create a new instance.
      参数:
      taskDecorators - the taskDecorators to delegate to
  • 方法详细资料

    • decorate

      public Runnable decorate(Runnable runnable)
      从接口复制的说明: TaskDecorator
      Decorate the given Runnable, returning a potentially wrapped Runnable for actual execution, internally delegating to the original Runnable.run() implementation.
      指定者:
      decorate 在接口中 TaskDecorator
      参数:
      runnable - the original Runnable
      返回:
      the decorated Runnable