public class NoTypePermission extends Object implements TypePermission
Can be used to skip any existing default permission.
Modifier and Type | Field and Description |
---|---|
static TypePermission |
NONE |
Constructor and Description |
---|
NoTypePermission() |
public static final TypePermission NONE
public NoTypePermission()
public boolean allows(Class type)
TypePermission
allows
in interface TypePermission
type
- the type to checktrue
if provided type is allowed, false
if permission does not handle the typeCopyright © 2005–2017. All rights reserved.