Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Obligation |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
3 | * All rights reserved. | |
4 | * | |
5 | * Licensed under the Open Permis License which accompanies this distribution, | |
6 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
7 | */ | |
8 | package org.openpermis.policy; | |
9 | ||
10 | ||
11 | /** | |
12 | * An operation specified by a string that should be performed by the PEP in conjunction with the | |
13 | * enforcement of an authorization decision. | |
14 | * @since 0.3.0 | |
15 | */ | |
16 | public interface Obligation { | |
17 | ||
18 | //---- Methods | |
19 | ||
20 | /** | |
21 | * Returns the text of this obligation. | |
22 | * @return the text of this obligation. | |
23 | * @since 0.3.0 | |
24 | */ | |
25 | public String getText (); | |
26 | ||
27 | } |