|
|||||
| FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
CodeSource wrapper class that allows specific security policies to be associated with a class compiled from groovy source.
| Field Summary | |
|---|---|
boolean |
cachable
|
def |
certs
|
CodeSource |
codeSource
|
File |
file
|
InputStream |
inputStream
|
String |
name
|
| Constructor Summary | |
GroovyCodeSource(String script, String name, String codeBase)
The codeSource to be given the generated class. |
|
GroovyCodeSource(InputStream inputStream, String name, String codeBase)
Construct a GroovyCodeSource for an inputStream of groovyCode that has an unknown provenance -- meaning it didn't come from a File or a URL (e.g. |
|
GroovyCodeSource(File infile)
|
|
GroovyCodeSource(URL url)
|
|
| Method Summary | |
|---|---|
CodeSource |
getCodeSource()
|
File |
getFile()
|
InputStream |
getInputStream()
|
String |
getName()
|
boolean |
isCachable()
|
void |
setCachable(boolean b)
|
| Constructor Detail |
|---|
public GroovyCodeSource(String script, String name, String codeBase)
public GroovyCodeSource(InputStream inputStream, String name, String codeBase)
public GroovyCodeSource(File infile)
public GroovyCodeSource(URL url)
| Method Detail |
|---|
public CodeSource getCodeSource()
public File getFile()
public InputStream getInputStream()
public String getName()
public boolean isCachable()
public void setCachable(boolean b)