public class LiveViewPermission
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LiveViewPermission.Action |
static class |
LiveViewPermission.Type |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WILDCARD |
Constructor and Description |
---|
LiveViewPermission(LiveViewPermission.Type type)
One-argument constructor that wildcards the action and instance fields
|
LiveViewPermission(LiveViewPermission.Type type,
LiveViewPermission.Action action)
Two-argument constructor that wildcards the instance fields
|
LiveViewPermission(LiveViewPermission.Type type,
LiveViewPermission.Action action,
java.lang.String instance)
Constructor that uses enum arguments
|
LiveViewPermission(java.lang.String type,
java.lang.String action,
java.lang.String instance)
Constructor that uses string arguments
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction() |
java.lang.String |
getInstance() |
java.lang.String |
getType() |
java.lang.String |
toString() |
public static final java.lang.String WILDCARD
public LiveViewPermission(LiveViewPermission.Type type)
type
- the permission typepublic LiveViewPermission(LiveViewPermission.Type type, LiveViewPermission.Action action)
type
- the permission typeaction
- the permission actionpublic LiveViewPermission(LiveViewPermission.Type type, LiveViewPermission.Action action, java.lang.String instance)
type
- the permission typeaction
- the permission actioninstance
- the permission instancepublic LiveViewPermission(java.lang.String type, java.lang.String action, java.lang.String instance)
type
- the permission typeaction
- the permission actioninstance
- the permission instance