org.eclipse.stardust.engine.api.runtime
Class Permission

java.lang.Object
  extended by org.eclipse.stardust.engine.api.runtime.Permission
All Implemented Interfaces:
Serializable

public class Permission
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Permission(String permissionId, List<Scope> scopes)
           
 
Method Summary
 String getPermissionId()
          Gets the id of this permission.
 List<Scope> getScopes()
          Get all scopes for this permission.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Permission

public Permission(String permissionId,
                  List<Scope> scopes)
Method Detail

getPermissionId

public String getPermissionId()
Gets the id of this permission.

Returns:
The permission id.

getScopes

public List<Scope> getScopes()
Get all scopes for this permission.

Returns:
A list of all scopes for this permission.

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
A string representation of the object.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.