Package org.opentcs.access
Schnittstelle Kernel
- Alle bekannten Unterschnittstellen:
LocalKernel
public interface Kernel
Declares the methods an openTCS kernel implements.
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic enum
The various states a kernel instance may be running in. -
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final String
The default name used for the empty model created on startup. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetState()
Returns the current state of the kernel.void
setState
(Kernel.State newState) Sets the current state of the kernel.
-
Felddetails
-
DEFAULT_MODEL_NAME
The default name used for the empty model created on startup.- Siehe auch:
-
-
Methodendetails
-
getState
Returns the current state of the kernel.- Gibt zurück:
- The current state of the kernel.
- Löst aus:
CredentialsException
- If the calling client is not allowed to execute this method.
-
setState
Sets the current state of the kernel.Note: This method should only be used internally by the Kernel application.
- Parameter:
newState
- The state the kernel is to be set to.- Löst aus:
IllegalArgumentException
- If setting the new state is not possible, e.g. because a transition from the current to the new state is not allowed.CredentialsException
- If the calling client is not allowed to execute this method.
-