public interface ScriptingFolder extends ScriptingUnit, Visitable
Interface that represents a directory in the ScriptingFramework.
ScriptingUnit
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor,
java.util.function.Predicate<ScriptingUnit> includeFilter) |
void |
add(ScriptingUnit unit)
Adds a
ScriptingUnit to the ScriptingFolder. |
java.lang.String |
getProperty(java.lang.String group,
java.lang.String name) |
java.lang.String |
getRawInf() |
ScriptingUnit |
getUnit(java.io.File file)
Returns the
ScriptingUnit associated with a File. |
ScriptingUnit |
getUnit(java.lang.String path) |
java.util.List<ScriptingFolder> |
getUnitFolders() |
java.util.List<ScriptingUnit> |
getUnits()
Gets all the
ScriptingUnit s contained in a ScriptingFolder. |
boolean |
isLink() |
void |
remove(ScriptingUnit unit)
Removes a
ScriptingUnit from the ScriptingFolder. |
void |
save() |
void |
setIconNames(java.lang.String iconName,
java.lang.String iconNameOpen) |
void |
setProperty(java.lang.String group,
java.lang.String name,
java.lang.String value) |
void |
setRawInf(java.lang.String rawInf) |
addPropertyChangeListener, getCreatedBy, getDescription, getFile, getFileResource, getFiles, getIconNames, getId, getName, getParent, getProperties, getProperty, getTypeName, getUserPath, getVersion, isASystemUnit, isSaved, move, reload, remove, rename, setCreatedBy, setDescription, setName, setProperty, setSaved, setVersion
void add(ScriptingUnit unit)
ScriptingUnit
to the ScriptingFolder.unit
- ScriptingUnit
to include.void remove(ScriptingUnit unit)
ScriptingUnit
from the ScriptingFolder.unit
- ScriptingUnit
to delete.ScriptingUnit getUnit(java.io.File file)
ScriptingUnit
associated with a File.file
- File of the data origin.ScriptingUnit
with the content extracted from the file.ScriptingUnit getUnit(java.lang.String path)
java.util.List<ScriptingUnit> getUnits()
ScriptingUnit
s contained in a ScriptingFolder.ScriptingUnit
s.java.util.List<ScriptingFolder> getUnitFolders()
boolean isLink()
void accept(Visitor visitor, java.util.function.Predicate<ScriptingUnit> includeFilter) throws BaseException
BaseException
void save()
java.lang.String getRawInf()
void setRawInf(java.lang.String rawInf)
java.lang.String getProperty(java.lang.String group, java.lang.String name)
void setProperty(java.lang.String group, java.lang.String name, java.lang.String value)
void setIconNames(java.lang.String iconName, java.lang.String iconNameOpen)