public interface ScriptArchive
ScriptModuleSpec
to describe how this archive
is to be converted into a module, and optionally, a set of deploy specs that
describes deploy data useful in operating the module.Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getArchiveEntryNames() |
long |
getCreateTime()
Timestamp used to resolve multiple revisions of the archive.
|
java.net.URL |
getEntry(java.lang.String entryName) |
ScriptModuleSpec |
getModuleSpec() |
java.net.URL |
getRootUrl() |
void |
setModuleSpec(ScriptModuleSpec spec)
Set the module spec for this archive.
|
ScriptModuleSpec getModuleSpec()
void setModuleSpec(ScriptModuleSpec spec)
spec
- the module spec to set to.@Nullable java.net.URL getRootUrl()
URL
s representing the contents of this archive. should be
suitable for passing to a URLClassLoader
java.util.Set<java.lang.String> getArchiveEntryNames()
@Nullable java.net.URL getEntry(java.lang.String entryName) throws java.io.IOException
java.io.IOException
long getCreateTime()