I have an state diagram. At one point is gets into the ListenToEvents state. But the events can be updated. depending on the previous states.
In my plantUml file I have these to show which events the app listens to:
map Events {
1 => EVENT_PROFILE_DOWNLOAD
}
and
map Events {
1 => EVENT_PROFILE_DOWNLOAD
2 => EVENT_TIMER_EXPIRATION
}
But I don't want to use associative arrays. I want to do something like
array Events {
EVENT_PROFILE_DOWNLOAD
EVENT_TIMER_EXPIRATION
}
I thought about using object instead of array, but then I get a syntax error