public interface ConstraintFactory extends Comparable<ConstraintFactory>
Implementations of this interface should implement #equals(Object) and #hashCode()
such that two factories that produce the same constraints can be treated as equal in hash-based collections.
| Modifier and Type | Method and Description |
|---|---|
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
Action action,
TargetAttribute target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
Action action,
TargetResource target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
JmxAction action,
JmxTarget target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getStandardUserConstraint(StandardRole role,
Action.ActionEffect actionEffect)
Provides a constraint suitable for the given
role in the standard WildFly
role based access control system. |
compareToConstraint getStandardUserConstraint(StandardRole role, Action.ActionEffect actionEffect)
role in the standard WildFly
role based access control system.role - the roleactionEffect - the Action.ActionEffect for which the constraint is relevantnullConstraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetAttribute target)
action and targetactionEffect - the Action.ActionEffect for which the constraint is relevantaction - the actiontarget - the attribute that is the target of the actionnullConstraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetResource target)
action and targetactionEffect - the Action.ActionEffect for which the constraint is relevantaction - the actiontarget - the resource that is the target of the actionnullConstraint getRequiredConstraint(Action.ActionEffect actionEffect, JmxAction action, JmxTarget target)
action and targetactionEffect - the Action.ActionEffect for which the constraint is relevantaction - the actiontarget - the jmx bean that is the target of the actionnullCopyright © 2017 JBoss by Red Hat. All rights reserved.