public abstract class BaseObligationHandler extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseObligationHandler(String obligationId)
Constructor.
|
protected |
BaseObligationHandler(String obligationId,
int handlerPrecedence)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract void |
evaluateObligation(ObligationProcessingContext context,
ObligationType obligation)
Evaluates the obligation represented by this handler.
|
int |
getHandlerPrecedence()
Gets the precedence of the handler.
|
String |
getObligationId()
Gets the ID of the handled obligation.
|
int |
hashCode() |
protected BaseObligationHandler(String obligationId)
obligationId
- ID of the handled obligationprotected BaseObligationHandler(String obligationId, int handlerPrecedence)
obligationId
- ID of the handled obligationhandlerPrecedence
- precedence of this handlerpublic String getObligationId()
public int getHandlerPrecedence()
public abstract void evaluateObligation(ObligationProcessingContext context, ObligationType obligation) throws ObligationProcessingException
context
- current processing contextobligation
- the obligation as returned by the PDPObligationProcessingException
- thrown if there is a problem evaluating this handlerCopyright © 2018 JBoss by Red Hat. All rights reserved.