public static class ApplicationTypeConstraint.Factory extends Object
Modifier and Type | Method and Description |
---|---|
void |
addApplicationTypeConfig(ApplicationTypeConfig applicationTypeConfig) |
int |
compareTo(ConstraintFactory o) |
Collection<ApplicationTypeConfig> |
getApplicationTypeConfigs() |
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. |
protected int |
internalCompare(org.jboss.as.controller.access.constraint.AbstractConstraintFactory other)
Compare this
AbstractConstraintFactory to another. |
public Constraint getStandardUserConstraint(StandardRole role, Action.ActionEffect actionEffect)
ConstraintFactory
role
in the standard WildFly
role based access control system.role
- the roleactionEffect
- the Action.ActionEffect
for which the constraint is relevantnull
public Constraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetAttribute target)
ConstraintFactory
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the attribute that is the target of the actionnull
public Constraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetResource target)
ConstraintFactory
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the resource that is the target of the actionnull
public void addApplicationTypeConfig(ApplicationTypeConfig applicationTypeConfig)
public Collection<ApplicationTypeConfig> getApplicationTypeConfigs()
protected int internalCompare(org.jboss.as.controller.access.constraint.AbstractConstraintFactory other)
AbstractConstraintFactory
to another. Similar contract to Comparable.compareTo(Object)
except that a return value of 0
does not imply equality; rather it implies indifference with respect
to order. The intended use for this method is in Comparable.compareTo(Object)
implementations where
the class implementing the method has no preference with respect to order and is willing to go with the
preference of the passed in object if it has one.other
- the other constraint factorypublic Constraint getRequiredConstraint(Action.ActionEffect actionEffect, JmxAction action, JmxTarget target)
ConstraintFactory
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the jmx bean that is the target of the actionnull
public int compareTo(ConstraintFactory o)
compareTo
in interface Comparable<ConstraintFactory>
Copyright © 2023 JBoss by Red Hat. All rights reserved.