alchemist-incarnation-protelis / it.unibo.alchemist.model / ProtelisIncarnation / ProtectedExecutionEnvironment

ProtectedExecutionEnvironment

class ProtectedExecutionEnvironment : ExecutionEnvironment

An ExecutionEnvironment that can read and shadow the content of a Node, but cannot modify it. This is used to prevent badly written properties to interact with the simulation flow.

Constructors

<init>

ProtectedExecutionEnvironment(node: Node<*>!)

Functions

commit

fun commit(): Unit

get

fun get(id: String!): Any!
fun get(id: String!, defaultValue: Any!): Any!

has

fun has(id: String!): Boolean

keySet

fun keySet(): MutableSet<String!>!

put

fun put(id: String!, v: Any!): Boolean

remove

fun remove(id: String!): Any!

setup

fun setup(): Unit