com.hazelcast.config
Class PermissionConfig

java.lang.Object
  extended by com.hazelcast.config.PermissionConfig

public class PermissionConfig
extends Object

Contains the configuration for a permission.


Nested Class Summary
static class PermissionConfig.PermissionType
          Type of permission
 
Constructor Summary
PermissionConfig()
           
PermissionConfig(PermissionConfig.PermissionType type, String name, String principal)
           
 
Method Summary
 PermissionConfig addAction(String action)
           
 PermissionConfig addEndpoint(String endpoint)
           
 Set<String> getActions()
           
 Set<String> getEndpoints()
           
 String getName()
           
 String getPrincipal()
           
 PermissionConfig.PermissionType getType()
           
 PermissionConfig setActions(Set<String> actions)
           
 PermissionConfig setEndpoints(Set<String> endpoints)
           
 PermissionConfig setName(String name)
           
 PermissionConfig setPrincipal(String principal)
           
 PermissionConfig setType(PermissionConfig.PermissionType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionConfig

public PermissionConfig()

PermissionConfig

public PermissionConfig(PermissionConfig.PermissionType type,
                        String name,
                        String principal)
Method Detail

addEndpoint

public PermissionConfig addEndpoint(String endpoint)

addAction

public PermissionConfig addAction(String action)

getType

public PermissionConfig.PermissionType getType()

getName

public String getName()

getPrincipal

public String getPrincipal()

getEndpoints

public Set<String> getEndpoints()

getActions

public Set<String> getActions()

setType

public PermissionConfig setType(PermissionConfig.PermissionType type)

setName

public PermissionConfig setName(String name)

setPrincipal

public PermissionConfig setPrincipal(String principal)

setActions

public PermissionConfig setActions(Set<String> actions)

setEndpoints

public PermissionConfig setEndpoints(Set<String> endpoints)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.