StateMachineSummary

public class StateMachineSummary

Exposes - and manages the lifetime of - a state machine summary

Constructors

StateMachineSummary

protected StateMachineSummary(APIClient client, long objectId)

Internal constructor

Methods

events

public java.util.ArrayList<io.cocotec.coco.platform.coco.SourcedEventSummary> events()

finalize

protected void finalize()

getObjectId

public long getObjectId()

Internal method

getOrCreate

public static StateMachineSummary getOrCreate(APIClient client, long objectId)

Internal method

isComponent

public boolean isComponent()

True if this is a component, false if it is a port

machineName

public String machineName()

The name of the state machine

node

public io.cocotec.coco.platform.coco.Node node()

The AST node for the state machine

ownerName

public String ownerName()

The name of this component or port

states

public java.util.ArrayList<io.cocotec.coco.platform.coco.StateSummary> states()