public class ExtensionLibraryDescriptor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtensionLibraryDescriptor.Permission
Wraps assigned permissions for an extension into a Java object.
|
| Constructor and Description |
|---|
ExtensionLibraryDescriptor()
No-argument constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(String roleName,
String capability)
adds a permission to this module
|
String |
getPath()
gets the path of this module/asset
|
List<ExtensionLibraryDescriptor.Permission> |
getPermissions()
gets the list of permissions assigned to this module, beyond the default permissions.
|
void |
setPath(String path)
Sets the path for this module descriptor.
|
public ExtensionLibraryDescriptor()
public String getPath()
public void setPath(String path)
path - The path. Must begin with "/ext/"public void addPermission(String roleName, String capability)
roleName - the role name to which the permission appliescapability - the capability of the permission.public List<ExtensionLibraryDescriptor.Permission> getPermissions()
Copyright © 2013-2016 MarkLogic Corporation.