|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.core.policies.PolicyChecker
ubiware.core.policies.DenyAllPolicyChecker
public final class DenyAllPolicyChecker
A PolicyChecker which does not allow actions to be executed. Its performPolicyCheck method always returns Status.DisAllowed
| Field Summary |
|---|
| Fields inherited from class ubiware.core.policies.PolicyChecker |
|---|
optionsForPolicyCheckN3Generation |
| Method Summary | |
|---|---|
static PolicyChecker |
getInstance()
get the singleton instance. |
Status |
performPolicyCheck(UbiwareAgent agent,
java.lang.String actionName,
BehaviorStartParameters parameters,
ParameterGenerator paramsgenerator)
Perform a policy check; check whether the given agent is allowed to execute the action specified in actionName with the given parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PolicyChecker getInstance()
public Status performPolicyCheck(UbiwareAgent agent,
java.lang.String actionName,
BehaviorStartParameters parameters,
ParameterGenerator paramsgenerator)
PolicyChecker
performPolicyCheck in class PolicyCheckeragent - The agent which wants to perform the action.actionName - The name of the ReusableAtomicBehavior class the agent wants to execute.parameters - The parameters for execution.paramsgenerator - A generator which is able to generate a S-APL object String representing the parameters.
Status of the policy check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||