commit | bdeb88a77ad13023dc1745f07dea2ff4deff0f61 | [log] [tgz] |
---|---|---|
author | Changhoon Yoon <chyoon87@kaist.ac.kr> | Tue May 12 20:35:31 2015 +0900 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu May 14 16:54:55 2015 +0000 |
tree | 642e3b1520445e60d840369c7ec27a6642124fcc | |
parent | 3310a341636e6f4ddfa816e2f262f5ed22cf68a1 [diff] [blame] |
ONOS-1896 Modify Application Subsystem to support Security-Mode ONOS Change-Id: Ie3686e0d5071f9f6e946bc48ed7562bb2f5ec413
diff --git a/core/api/src/main/java/org/onosproject/core/Permission.java b/core/api/src/main/java/org/onosproject/core/Permission.java index d32d059..98ec6c7 100644 --- a/core/api/src/main/java/org/onosproject/core/Permission.java +++ b/core/api/src/main/java/org/onosproject/core/Permission.java
@@ -19,5 +19,16 @@ * Representation of an application permission. */ public interface Permission { - // TODO: to be fleshed out + + /** + * Returns the name of the permission. + * @return a string value + */ + String name(); + + /** + * Returns the actions string of the permission if specified. + * @return a string value + */ + String actions(); }