public class VirtualCase extends ProjectFile implements ProjectCase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PSEUDO_CLASS |
static int |
VERSION |
folder, project
codeVersion, info, storage
Constructor and Description |
---|
VirtualCase(ProjectFileCreationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ProjectCaseListener l) |
java.util.Optional<ProjectFile> |
getCase() |
Network |
getNetwork() |
java.util.Optional<ModificationScript> |
getScript() |
protected void |
invalidate() |
void |
invalidateNetworkCache() |
java.lang.String |
queryNetwork(ScriptType scriptType,
java.lang.String scriptContent) |
void |
removeListener(ProjectCaseListener l) |
void |
setCase(ProjectFile aCase) |
void |
setScript(ModificationScript aScript) |
addListener, createLogger, findService, getDependencies, getDependencies, isFolder, removeDependencies, removeListener, setDependencies, startTask, stopTask
delete, getBackwardDependencies, getFileSystem, getParent, getPath, getProject
getChildInfo, getCodeVersion, getCreationDate, getDescription, getId, getModificationDate, getName, getParentInfo, getVersion, isAheadOfVersion, isAncestorOf, moveTo, rename, setDescription, toString
public static final java.lang.String PSEUDO_CLASS
public static final int VERSION
public VirtualCase(ProjectFileCreationContext context)
public java.util.Optional<ProjectFile> getCase()
public void setCase(ProjectFile aCase)
public java.util.Optional<ModificationScript> getScript()
public void setScript(ModificationScript aScript)
public java.lang.String queryNetwork(ScriptType scriptType, java.lang.String scriptContent)
queryNetwork
in interface ProjectCase
public Network getNetwork()
getNetwork
in interface ProjectCase
public void invalidateNetworkCache()
invalidateNetworkCache
in interface ProjectCase
public void addListener(ProjectCaseListener l)
addListener
in interface ProjectCase
public void removeListener(ProjectCaseListener l)
removeListener
in interface ProjectCase
protected void invalidate()
invalidate
in class ProjectNode