|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.security.PermissionGroup
public final class PermissionGroup
Group of Permission
s that share the same owner
.
Sortable by the owner class name.
Field Summary | |
---|---|
Class |
owner
|
org.jvnet.localizer.Localizable |
title
Human readable title of this permission group. |
Constructor Summary | |
---|---|
PermissionGroup(Class owner,
org.jvnet.localizer.Localizable title)
|
Method Summary | |
---|---|
int |
compareTo(PermissionGroup that)
|
Permission |
find(String name)
Finds a permission that has the given name. |
static PermissionGroup |
get(Class owner)
Gets the PermissionGroup whose owner is the given class. |
static List<PermissionGroup> |
getAll()
Returns all the PermissionGroup s available in the system. |
List<Permission> |
getPermissions()
Lists up all the permissions in this group. |
boolean |
hasPermissionContainedBy(PermissionScope scope)
|
Iterator<Permission> |
iterator()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Class owner
public final org.jvnet.localizer.Localizable title
Constructor Detail |
---|
public PermissionGroup(Class owner, org.jvnet.localizer.Localizable title)
Method Detail |
---|
public Iterator<Permission> iterator()
iterator
in interface Iterable<Permission>
public List<Permission> getPermissions()
public boolean hasPermissionContainedBy(PermissionScope scope)
public Permission find(String name)
public int compareTo(PermissionGroup that)
compareTo
in interface Comparable<PermissionGroup>
public int size()
public static List<PermissionGroup> getAll()
PermissionGroup
s available in the system.
public static PermissionGroup get(Class owner)
PermissionGroup
whose owner
is the given class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |