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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
apply
(AxiomStatementRule.Action<V> action) build()
boolean
Collection<Dependency<?>>
error()
void
boolean
boolean
name()
Dependency<AxiomValue<?>>
require
(AxiomValueContext<?> ext) <V,
X extends Dependency<V>>
Xrequire
(X req) Collection<Dependency<?>>
boolean
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.axiom.reactor.Action
get, isSatisfied
Methods inherited from interface com.evolveum.axiom.reactor.DependantAction
canApply
Methods inherited from interface com.evolveum.axiom.reactor.Dependency
flatMap, isRequired, map, unsatisfied
-
Constructor Details
-
ValueActionImpl
-
-
Method Details
-
require
- Specified by:
require
in interfaceAxiomStatementRule.ActionBuilder<V>
-
apply
- Specified by:
apply
in interfaceAxiomStatementRule.ActionBuilder<V>
-
canProcess
public boolean canProcess() -
apply
- Specified by:
apply
in interfaceAction<V>
- Throws:
AxiomSemanticException
-
isApplied
public boolean isApplied() -
errorMessage
- Specified by:
errorMessage
in interfaceDependency<V>
-
toString
-
successful
public boolean successful()- Specified by:
successful
in interfaceAction<V>
-
requirements
-
fail
- Specified by:
fail
in interfaceAction<V>
- Parameters:
e
- Exception which occurred during call ofAction.apply()
- Throws:
AxiomSemanticException
-
dependencies
- Specified by:
dependencies
in interfaceDependantAction<V>
-
error
-
isDefined
public boolean isDefined() -
build
-
require
- Specified by:
require
in interfaceAxiomStatementRule.ActionBuilder<V>
-
error
- Specified by:
error
in interfaceAxiomStatementRule.ActionBuilder<V>
-
name
-