Package com.evolveum.axiom.lang.impl
Class ValueActionImpl<V>
java.lang.Object
com.evolveum.axiom.lang.impl.ValueActionImpl<V>
- All Implemented Interfaces:
AxiomStatementRule.ActionBuilder<V>,Action<AxiomSemanticException>,DependantAction<AxiomSemanticException>,Dependency<Void>
public class ValueActionImpl<V>
extends Object
implements AxiomStatementRule.ActionBuilder<V>, DependantAction<AxiomSemanticException>
-
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> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply()apply(AxiomStatementRule.Action<V> action) build()booleanCollection<Dependency<?>>error()voidbooleanbooleanname()Dependency<AxiomValue<?>>require(AxiomValueContext<?> ext) <V,X extends Dependency<V>>
Xrequire(X req) Collection<Dependency<?>>booleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.axiom.reactor.Action
get, isSatisfiedMethods inherited from interface com.evolveum.axiom.reactor.DependantAction
canApplyMethods inherited from interface com.evolveum.axiom.reactor.Dependency
flatMap, isRequired, map, unsatisfied
-
Constructor Details
-
ValueActionImpl
-
-
Method Details
-
require
- Specified by:
requirein interfaceAxiomStatementRule.ActionBuilder<V>
-
apply
- Specified by:
applyin interfaceAxiomStatementRule.ActionBuilder<V>
-
canProcess
public boolean canProcess() -
apply
- Specified by:
applyin interfaceAction<V>- Throws:
AxiomSemanticException
-
isApplied
public boolean isApplied() -
errorMessage
- Specified by:
errorMessagein interfaceDependency<V>
-
toString
-
successful
public boolean successful()- Specified by:
successfulin interfaceAction<V>
-
requirements
-
fail
- Specified by:
failin interfaceAction<V>- Parameters:
e- Exception which occurred during call ofAction.apply()- Throws:
AxiomSemanticException
-
dependencies
- Specified by:
dependenciesin interfaceDependantAction<V>
-
error
-
isDefined
public boolean isDefined() -
build
-
require
- Specified by:
requirein interfaceAxiomStatementRule.ActionBuilder<V>
-
error
- Specified by:
errorin interfaceAxiomStatementRule.ActionBuilder<V>
-
name
-