Uses of Interface
modelarium.entities.contexts.EnvironmentContext
Packages that use EnvironmentContext
Package
Description
Provides functional interfaces and lambda-backed implementations of event attributes.
Provides functional interfaces and lambda-backed implementations of property attributes.
Provides functional interfaces and lambda-backed implementations of routine attributes.
Defines the simulation views supplied to attribute behaviour.
-
Uses of EnvironmentContext in modelarium.entities.attributes.events.functional
Methods in modelarium.entities.attributes.events.functional with parameters of type EnvironmentContextModifier and TypeMethodDescriptionbooleanEnvironmentEventIsTriggeredFunction.isTriggered(EnvironmentContext context) Determines whether the event's trigger condition is met.booleanFunctionalEnvironmentEvent.isTriggered(EnvironmentContext context) Determines whether this event's trigger condition is met by applying the user-provided trigger function.voidEnvironmentEventRunFunction.run(EnvironmentContext context) Runs the event's behaviour.voidFunctionalEnvironmentEvent.run(EnvironmentContext context) Runs this event's behaviour by applying the user-provided run function. -
Uses of EnvironmentContext in modelarium.entities.attributes.properties.functional
Methods in modelarium.entities.attributes.properties.functional with parameters of type EnvironmentContextModifier and TypeMethodDescriptionEnvironmentPropertyGetterFunction.get(EnvironmentContext context, T propertyValue) Returns the property's value.FunctionalEnvironmentProperty.get(EnvironmentContext context) Returns this property's value by applying the user-provided getter function.EnvironmentPropertyRunFunction.run(EnvironmentContext context, T propertyValue) Runs the property's behaviour.voidFunctionalEnvironmentProperty.run(EnvironmentContext context) Runs this property's behaviour by applying the user-provided run function and storing its result.EnvironmentPropertySetterFunction.set(EnvironmentContext context, T currentPropertyValue, T newPropertyValue) Sets the property's value.voidFunctionalEnvironmentProperty.set(EnvironmentContext context, T value) Sets this property's value by applying the user-provided setter function and storing its result. -
Uses of EnvironmentContext in modelarium.entities.attributes.routines.functional
Methods in modelarium.entities.attributes.routines.functional with parameters of type EnvironmentContextModifier and TypeMethodDescriptionvoidEnvironmentRoutineRunFunction.run(EnvironmentContext context) Runs the routine's behaviour.protected voidFunctionalEnvironmentRoutine.run(EnvironmentContext context) Runs this routine's behaviour by applying the user-provided run function. -
Uses of EnvironmentContext in modelarium.entities.contexts
Classes in modelarium.entities.contexts that implement EnvironmentContextModifier and TypeClassDescriptionfinal classClass for providing the environment and its attributes with access to relevant simulation resources.