public class ImportedCase extends ProjectFile implements ProjectCase
ProjectFile
which represents a Network
imported to the project,
and provides methods to get the Network
object or query it with a script.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PSEUDO_CLASS |
static int |
VERSION |
folder, project
codeVersion, info, storage
Constructor and Description |
---|
ImportedCase(ProjectFileCreationContext context,
ImportersLoader importersLoader) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ProjectCaseListener l) |
void |
delete() |
ReadOnlyDataSource |
getDataSource() |
Importer |
getImporter() |
Network |
getNetwork() |
java.util.Properties |
getParameters() |
void |
invalidateNetworkCache() |
java.lang.String |
queryNetwork(ScriptType scriptType,
java.lang.String scriptContent) |
void |
removeListener(ProjectCaseListener l) |
addListener, createLogger, findService, getDependencies, getDependencies, isFolder, mandatoryDependenciesAreMissing, removeDependencies, removeListener, setDependencies, startTask, stopTask
getBackwardDependencies, getFileSystem, getParent, getPath, getProject, invalidate
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 ImportedCase(ProjectFileCreationContext context, ImportersLoader importersLoader)
public ReadOnlyDataSource getDataSource()
public java.util.Properties getParameters()
public Importer getImporter()
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 delete()
delete
in class ProjectNode
public void addListener(ProjectCaseListener l)
addListener
in interface ProjectCase
public void removeListener(ProjectCaseListener l)
removeListener
in interface ProjectCase
Copyright © 2019. All rights reserved.