Start | Event[Guard] | Target | Action |
---|---|---|---|
UNLOCKED |
|||
LOCKED |
CARD |
LOCKED |
{
cancelOverride()
} |
LOCKED |
CARD |
LOCKED |
{
activateOverride()
} |
LOCKED |
CARD |
UNLOCKED |
{
unlock()
} |
LOCKED |
CARD |
LOCKED |
{cardId->
requireNotNull(cardId)
invalidCard(cardId)
} |
UNLOCKED |
<<timeout = {timeout}>> |
LOCKED |
{
println("Timeout. Locking")
lock()
} |
UNLOCKED |
CARD |
LOCKED |
{
lock()
} |
UNLOCKED |
PASS |
LOCKED |
{
lock()
} |