blob: 98ec6c74728819036b2463ddc10baa5654f50a0e [file] [log] [blame]
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07001/*
Thomas Vachuska02aeb032015-01-06 22:36:30 -08002 * Copyright 2015 Open Networking Laboratory
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Thomas Vachuska02aeb032015-01-06 22:36:30 -080016package org.onosproject.core;
Thomas Vachuska0a608ac2014-10-16 11:15:59 -070017
18/**
Thomas Vachuska02aeb032015-01-06 22:36:30 -080019 * Representation of an application permission.
Thomas Vachuska0a608ac2014-10-16 11:15:59 -070020 */
Thomas Vachuska02aeb032015-01-06 22:36:30 -080021public interface Permission {
Changhoon Yoonbdeb88a2015-05-12 20:35:31 +090022
23 /**
24 * Returns the name of the permission.
25 * @return a string value
26 */
27 String name();
28
29 /**
30 * Returns the actions string of the permission if specified.
31 * @return a string value
32 */
33 String actions();
Thomas Vachuska0a608ac2014-10-16 11:15:59 -070034}