public class DynamicSimulationParameters extends AbstractExtendable<DynamicSimulationParameters>
Modifier and Type | Class and Description |
---|---|
static interface |
DynamicSimulationParameters.ConfigLoader<E extends Extension<DynamicSimulationParameters>>
A configuration loader interface for the DynamicSimulationParameters
extensions loaded from the platform configuration
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_START_TIME |
static int |
DEFAULT_STOP_TIME |
static String |
VERSION |
Modifier | Constructor and Description |
---|---|
|
DynamicSimulationParameters() |
protected |
DynamicSimulationParameters(DynamicSimulationParameters other) |
|
DynamicSimulationParameters(int startTime,
int stopTime)
Constructor with given parameters
|
Modifier and Type | Method and Description |
---|---|
DynamicSimulationParameters |
copy() |
int |
getStartTime() |
int |
getStopTime() |
static DynamicSimulationParameters |
load() |
protected static void |
load(DynamicSimulationParameters parameters) |
protected static void |
load(DynamicSimulationParameters parameters,
PlatformConfig platformConfig) |
static DynamicSimulationParameters |
load(PlatformConfig platformConfig) |
DynamicSimulationParameters |
setStartTime(int startTime) |
DynamicSimulationParameters |
setStopTime(int stopTime) |
protected Map<String,Object> |
toMap() |
String |
toString() |
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, removeExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
newExtension
public static final String VERSION
public static final int DEFAULT_START_TIME
public static final int DEFAULT_STOP_TIME
public DynamicSimulationParameters(int startTime, int stopTime)
startTime
- instant of time at which the dynamic simulation begins, in
secondsstopTime
- instant of time at which the dynamic simulation ends, in
secondspublic DynamicSimulationParameters()
protected DynamicSimulationParameters(DynamicSimulationParameters other)
public static DynamicSimulationParameters load()
public static DynamicSimulationParameters load(PlatformConfig platformConfig)
protected static void load(DynamicSimulationParameters parameters)
protected static void load(DynamicSimulationParameters parameters, PlatformConfig platformConfig)
public int getStartTime()
public DynamicSimulationParameters setStartTime(int startTime)
startTime
- instant of time at which the dynamic simulation begins, in
secondspublic int getStopTime()
public DynamicSimulationParameters setStopTime(int stopTime)
stopTime
- instant of time at which the dynamic simulation ends, in
secondspublic DynamicSimulationParameters copy()
Copyright © 2020. All rights reserved.