Class StaticProxyInstanceWhitelist
java.lang.Object
org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
hudson.plugins.emailext.groovy.sandbox.ObjectInstanceWhitelist<Object>
hudson.plugins.emailext.groovy.sandbox.StaticProxyInstanceWhitelist
- All Implemented Interfaces:
ExtensionPoint
ObjectInstanceWhitelist
backed by a set of StaticWhitelist
s.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
permitsFieldGet
(Field field, Object receiver) boolean
permitsFieldSet
(Field field, Object receiver, Object value) boolean
permitsMethod
(Method method, Object receiver, Object[] args) Methods inherited from class hudson.plugins.emailext.groovy.sandbox.ObjectInstanceWhitelist
isClass, permitsInstance
Methods inherited from class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
permitsConstructor, permitsStaticFieldGet, permitsStaticFieldSet, permitsStaticMethod
Methods inherited from class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
all
-
Constructor Details
-
StaticProxyInstanceWhitelist
public StaticProxyInstanceWhitelist(Object instance, @NonNull String... resources) throws IOException - Throws:
IOException
-
-
Method Details
-
permitsMethod
public boolean permitsMethod(@NonNull Method method, @NonNull Object receiver, @NonNull Object[] args) - Overrides:
permitsMethod
in classorg.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
-
permitsFieldGet
- Overrides:
permitsFieldGet
in classorg.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
-
permitsFieldSet
public boolean permitsFieldSet(@NonNull Field field, @NonNull Object receiver, @CheckForNull Object value) - Overrides:
permitsFieldSet
in classorg.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
-