org.eclipse.equinox.log
Class LogPermission
java.lang.Object
java.security.Permission
org.eclipse.equinox.log.LogPermission
- All Implemented Interfaces:
- Serializable, Guard
public class LogPermission
- extends Permission
Indicates a bundle's authority to log on behalf of other bundles.
This permission has only a single action: LOG.
- Since:
- 3.7
- See Also:
- Serialized Form
|
Field Summary |
static String |
LOG
The action string log. |
LOG
public static final String LOG
- The action string
log.
- See Also:
- Constant Field Values
LogPermission
public LogPermission(String name,
String actions)
- Create a new LogPermission.
- Parameters:
name - Name must be "*".actions - log or "*".
equals
public boolean equals(Object obj)
- Specified by:
equals in class Permission
getActions
public String getActions()
- Specified by:
getActions in class Permission
hashCode
public int hashCode()
- Specified by:
hashCode in class Permission
implies
public boolean implies(Permission permission)
- Specified by:
implies in class Permission
newPermissionCollection
public PermissionCollection newPermissionCollection()
- Overrides:
newPermissionCollection in class Permission
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.