Modifier and Type | Method and Description |
---|---|
Decorator |
build() |
Decorator.Builder |
withPreRunCallback(Runnable callback) |
Decorator.Builder |
withResetCallback(Runnable callback) |
Decorator.Builder |
withShouldExecutePredicate(com.google.common.base.Predicate<Boolean> predicate) |
Decorator.Builder |
withStatusTransformer(com.google.common.base.Function<BehaviorStatus,BehaviorStatus> transformer) |
public Decorator build()
public Decorator.Builder withPreRunCallback(Runnable callback)
public Decorator.Builder withResetCallback(Runnable callback)
public Decorator.Builder withShouldExecutePredicate(com.google.common.base.Predicate<Boolean> predicate)
public Decorator.Builder withStatusTransformer(com.google.common.base.Function<BehaviorStatus,BehaviorStatus> transformer)
Copyright © 2021. All rights reserved.