public class ContingencyStore extends ProjectFile implements ContingenciesProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PSEUDO_CLASS |
folder, project
codeVersion, info, storage
Modifier | Constructor and Description |
---|---|
protected |
ContingencyStore(ProjectFileCreationContext context) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Contingency> |
getContingencies(Network network) |
java.util.List<Contingency> |
read() |
void |
write(Contingency... contingencies) |
void |
write(java.util.List<Contingency> contingencies) |
addListener, createLogger, findService, getDependencies, getDependencies, isFolder, removeDependencies, removeListener, setDependencies, startTask, stopTask
delete, getBackwardDependencies, getFileSystem, getParent, getPath, getProject, invalidate
getChildInfo, getCodeVersion, getCreationDate, getDescription, getId, getModificationDate, getName, getParentInfo, getVersion, isAheadOfVersion, isAncestorOf, moveTo, rename, setDescription, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asScript
public static final java.lang.String PSEUDO_CLASS
protected ContingencyStore(ProjectFileCreationContext context)
public void write(Contingency... contingencies)
public void write(java.util.List<Contingency> contingencies)
public java.util.List<Contingency> read()
public java.util.List<Contingency> getContingencies(Network network)
getContingencies
in interface ContingenciesProvider
Copyright © 2019. All rights reserved.