Package com.powsybl.contingency
Class ContingencyContext
java.lang.Object
com.powsybl.contingency.ContingencyContext
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Etienne Lesot <etienne.lesot at rte-france.com>
provide the context to get information of the network after a security analysis it contains a contingency's id and a context type. Context type defines if we want the information in a pre-contingency state, a post-contingency state or both. contingency's id is defined if informations are needed after a specific contingency computation
-
Constructor Summary
ConstructorDescriptionContingencyContext
(String contingencyId, ContingencyContextType contingencyContextType) -
Method Summary
Modifier and TypeMethodDescriptionstatic ContingencyContext
all()
static ContingencyContext
create
(String contingencyId, ContingencyContextType contingencyContextType) boolean
int
hashCode()
static ContingencyContext
none()
static ContingencyContext
static ContingencyContext
specificContingency
(String contingencyId) toString()
-
Constructor Details
-
ContingencyContext
-
-
Method Details
-
getContingencyId
-
getContextType
-
equals
-
hashCode
public int hashCode() -
toString
-
create
public static ContingencyContext create(String contingencyId, ContingencyContextType contingencyContextType) -
all
-
none
-
onlyContingencies
-
specificContingency
-