public interface ScriptingFolder extends ScriptingUnit, Visitable
Interface that represents a directory in the ScriptingFramework.
ScriptingUnit
Modifier and Type | Method and Description |
---|---|
void |
add(ScriptingUnit unit)
Adds a
ScriptingUnit to the ScriptingFolder. |
ScriptingUnit |
getUnit(File file)
Returns the
ScriptingUnit associated with a File. |
List<ScriptingFolder> |
getUnitFolders() |
List<ScriptingUnit> |
getUnits()
Gets all the
ScriptingUnit s contained in a ScriptingFolder. |
void |
remove(ScriptingUnit unit)
Removes a
ScriptingUnit from the ScriptingFolder. |
addPropertyChangeListener, getCreatedBy, getDescription, getFile, getFiles, getIconNames, getId, getName, getParent, getTypeName, getVersion, isSaved, move, remove, rename, setCreatedBy, setDescription, setName, 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(File file)
ScriptingUnit
associated with a File.file
- File of the data origin.ScriptingUnit
with the content extracted from the file.List<ScriptingUnit> getUnits()
ScriptingUnit
s contained in a ScriptingFolder.ScriptingUnit
s.List<ScriptingFolder> getUnitFolders()