public class DripFeedPermission extends BasicPermission
| Constructor and Description |
|---|
DripFeedPermission(String name)
Create a new DripFeedPermission.
|
DripFeedPermission(String name,
String actions)
Create a new DripFeedPermission.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(Permission p)
Checks if the specified permission is "implied" by this object.
|
equals, getActions, hashCode, newPermissionCollectioncheckGuard, getName, toStringpublic DripFeedPermission(String name)
name - the name string is currently unused and should be emptypublic DripFeedPermission(String name, String actions)
name - The name string is currently unused and should be emptyactions - The actions string is currently unused
and should be null.public boolean implies(Permission p)
Since name and actions are not used, the only check needed is whether p is also a DripFeedPermission.
implies in class BasicPermissionp - the permission to check against.Copyright © 2012 code4tv.com. All Rights Reserved.