public final class GroovyCodeSourcePermission
extends BasicPermission
Permission required to explicitly specify a codebase for a groovy script whose codebase cannot be determined. Typically this permission is only required by clients that want to associate a code source with a script which is a String or an InputStream.
| Constructor and description |
|---|
GroovyCodeSourcePermission(String name)Creates a permission with the supplied name. |
GroovyCodeSourcePermission(String name, String actions)Creates a permission with the supplied name and actions. |
| Methods inherited from class | Name |
|---|---|
class BasicPermission |
checkGuard, equals, getActions, getClass, getName, hashCode, implies, newPermissionCollection, notify, notifyAll, toString, wait, wait, wait |
Creates a permission with the supplied name.
name - the permission nameCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.