Class JfrReportPermission
- java.lang.Object
-
- java.security.Permission
-
- java.security.BasicPermission
-
- org.openjdk.jmc.flightrecorder.rules.report.JfrReportPermission
-
- All Implemented Interfaces:
Serializable
,Guard
public class JfrReportPermission extends BasicPermission
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JfrReportPermission(String name)
Constructs a JfrReportPermission with the specified name.JfrReportPermission(String name, String actions)
Constructs a new JfrReportPermission object.
-
Method Summary
-
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Constructor Detail
-
JfrReportPermission
public JfrReportPermission(String name)
Constructs a JfrReportPermission with the specified name.- Parameters:
name
- must be override.- Throws:
IllegalArgumentException
- if the argument is invalid.
-
JfrReportPermission
public JfrReportPermission(String name, String actions)
Constructs a new JfrReportPermission object.- Parameters:
name
- Permission name. Must be "override".actions
- Must be either null or the empty string.- Throws:
IllegalArgumentException
- if arguments are invalid.
-
-