public abstract class AbstractNameOnlyPermission<This extends AbstractNameOnlyPermission<This>> extends AbstractNamedPermission<This>
ALL, NONE
Modifier | Constructor and Description |
---|---|
protected |
AbstractNameOnlyPermission(String name)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
AbstractPermissionCollection |
newPermissionCollection()
Get an empty permission collection which is capable of holding instances of this permission type.
|
equals, hashCode, implies, impliesName, impliesName, impliesName, nameEquals, nameEquals, nameEquals, nameHashCode, withName
equals, getActions, implies, requireEmptyActions
checkGuard, getName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, checkPermission, from, from, from, from, not, or, toPermissionCollection, unless, xor
protected AbstractNameOnlyPermission(String name)
name
- the permission name (must not be null
)public AbstractPermissionCollection newPermissionCollection()
AbstractPermission
The default implementation returns a SimplePermissionCollection
.
newPermissionCollection
in class AbstractPermission<This extends AbstractNameOnlyPermission<This>>
Copyright © 2019 JBoss by Red Hat. All rights reserved.