Package net.bytebuddy.utility.privilege
Class GetSystemPropertyAction
- java.lang.Object
-
- net.bytebuddy.utility.privilege.GetSystemPropertyAction
-
- All Implemented Interfaces:
PrivilegedAction<String>
@Enhance public class GetSystemPropertyAction extends Object implements PrivilegedAction<String>
An action for reading a system property as a privileged action.
-
-
Constructor Summary
Constructors Constructor Description GetSystemPropertyAction(String key)
Creates a new action for reading a system property.
-
-
-
Constructor Detail
-
GetSystemPropertyAction
public GetSystemPropertyAction(String key)
Creates a new action for reading a system property.- Parameters:
key
- The property key.
-
-
Method Detail
-
run
public String run()
- Specified by:
run
in interfacePrivilegedAction<String>
-
-