public interface Script extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
depend(Path path)
Marks that this script depends on another script.
|
void |
depend(String path)
Marks that this script depends on another script.
|
CompositeAutoClosable |
getClosables()
Gets the scripts composite closable registry.
|
Set<Path> |
getDependencies()
Gets the other scripts depended on by this script.
|
ScriptLogger |
getLogger()
Gets the scripts logger instance
|
String |
getName()
|
Path |
getPath()
Gets the path of the script.
|
closeString getName()
Path getPath()
The path is relative to the loader directory.
ScriptLogger getLogger()
CompositeAutoClosable getClosables()
Set<Path> getDependencies()
void depend(String path)
path - the other scriptvoid depend(Path path)
path - the other scriptCopyright © 2018. All rights reserved.