Package com.evolveum.axiom.reactor
Interface Action<E extends Exception>
- 
- All Superinterfaces:
 Dependency<Void>
- All Known Subinterfaces:
 DependantAction<E>
- All Known Implementing Classes:
 ValueActionImpl
public interface Action<E extends Exception> extends Dependency<Void>
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.evolveum.axiom.reactor.Dependency
Dependency.Immediate<V>, Dependency.OptionalDep<T>, Dependency.Search<T>, Dependency.Suppliable<V>, Dependency.Unsatified<V> 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidapply()booleancanApply()Returns true if action can be applied.Optional<E>error()voidfail(Exception e)default Voidget()default booleanisSatisfied()booleansuccessful()- 
Methods inherited from interface com.evolveum.axiom.reactor.Dependency
errorMessage, flatMap, isRequired, map, unsatisfied 
 - 
 
 - 
 
- 
- 
Method Detail
- 
apply
void apply()
 
- 
isSatisfied
default boolean isSatisfied()
- Specified by:
 isSatisfiedin interfaceDependency<E extends Exception>
 
- 
get
default Void get()
- Specified by:
 getin interfaceDependency<E extends Exception>
 
- 
successful
boolean successful()
 
- 
canApply
boolean canApply()
Returns true if action can be applied. Return false if action application of action failed with exception, which is non-retriable.- Returns:
 
 
 - 
 
 -