From a63a38be10badf0aa83fc5c0df9164bb2523307c Mon Sep 17 00:00:00 2001 From: Milos Marinkovic Date: Sat, 31 Oct 2020 12:33:28 +0100 Subject: [PATCH 1/3] Update front page docs & samples for release 1.1.0 --- README.md | 16 ++++------------ demo/build.gradle | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3f86c1f..aa8c4c1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Simple State Machines in Kotlin (KSSM) -![Experimental State](https://img.shields.io/badge/state-experimental-orange) ![Workflow Status](https://img.shields.io/github/workflow/status/milosmns/kssm/Pre-release%20check) ![Code Size](https://img.shields.io/github/languages/code-size/milosmns/kssm) ![License](https://img.shields.io/github/license/milosmns/kssm) @@ -11,12 +10,11 @@ ## What is this? **KSSM** (reordered: _Kotlin - Simple State Machines_) provides an easy and simple DSL _(Domain Specific Language)_ for setting up [finite-state machines](https://en.wikipedia.org/wiki/Finite-state_machine), and opens a clean API with built-in threading and conflation mechanisms for manipulating states. -This library **does not** solve all state machine problems, **nor** does it address all possible use-cases related to state machines (although, it would like to). +This library **does not** solve all state machine problems, **nor** does it aim to address all possible use-cases related to state machines. It currently works only in the JVM environment. KSSM is based on the [Flow API](https://kotlinlang.org/docs/reference/coroutines/flow.html#flows) from Kotlin's coroutine package, more precisely on [State Flow](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-state-flow/). -State Flow is currently in `experimental` phase. This means that the API might be expanded in the future and is not safe for _inheritance_, but it is _safe for invocation/other use_. ## Quick Intro @@ -53,13 +51,7 @@ job.join() // or job.cancel(), or simply ignore ## Wiki -If you prefer longer documentation, check out the class documentation for -[StateMachine API](https://github.com/milosmns/kssm/blob/master/kssm/src/main/kotlin/me/angrybyte/kssm/api/StateMachine.kt). Actually, check it out anyway. -It's meant to be used in conjuction with the DSL, described in the -[DSL class docs](https://github.com/milosmns/kssm/blob/master/kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt). - -Website-like documentation is exported into [docs/dokka](https://github.com/milosmns/kssm/tree/master/docs/dokka/kssm) -directory, so you can also pull that directory to your computer and open `index.html`. +If you prefer longer documentation, check out the [longer version of the docs](https://milosmns.github.io/kssm/kssm/me.angrybyte.kssm.api). You want more? There are code samples [in the demo directory](https://github.com/milosmns/kssm/tree/master/demo/src/main/kotlin) that showcase the most interesting features of this library. @@ -70,7 +62,7 @@ It's hosted on JCenter and MavenCentral, and thus easy to depend upon with Gradl ```gradle dependencies { - // find the latest `$kssm_version` in a badge in this page's title + // find the latest `$kssm_version` on the top of this page implementation "me.angrybyte:kssm:$kssm_version" } ``` @@ -78,4 +70,4 @@ dependencies { ## Contributing & Code of Conduct Please open [a new issue](https://github.com/milosmns/kssm/issues/new) with any requests, issues, complaints or any other type of communication. -For sensitive or secure topics, don't hesitate to reach out to any of the maintainers directly. +For sensitive or security-related topics, don't hesitate to reach out to any maintainer directly. diff --git a/demo/build.gradle b/demo/build.gradle index 37bc509..f3333c0 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -14,7 +14,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0" - implementation "me.angrybyte:kssm:1.0.3" + implementation "me.angrybyte:kssm:1.1.0" } compileKotlin { From f8239087df886a1364583cc55fe5a2a503e55e22 Mon Sep 17 00:00:00 2001 From: Milos Marinkovic Date: Sat, 31 Oct 2020 12:48:57 +0100 Subject: [PATCH 2/3] Remove unnecessary experimental annotations --- demo/src/main/kotlin/Demo_Flow.kt | 2 -- demo/src/main/kotlin/Demo_Observers.kt | 2 -- demo/src/main/kotlin/Demo_Payloads.kt | 2 -- kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt | 3 --- .../kotlin/me/angrybyte/kssm/impl/machine/StateMachineImpl.kt | 2 -- .../me/angrybyte/kssm/impl/machine/StateMachineImplTest.kt | 2 +- 6 files changed, 1 insertion(+), 12 deletions(-) diff --git a/demo/src/main/kotlin/Demo_Flow.kt b/demo/src/main/kotlin/Demo_Flow.kt index 13e5e9b..d850f4d 100644 --- a/demo/src/main/kotlin/Demo_Flow.kt +++ b/demo/src/main/kotlin/Demo_Flow.kt @@ -8,7 +8,6 @@ import WaterState.Empty import WaterState.Ice import WaterState.Liquid import WaterState.Steam -import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.Job import kotlinx.coroutines.asCoroutineDispatcher import kotlinx.coroutines.flow.collect @@ -22,7 +21,6 @@ import me.angrybyte.kssm.dsl.stateMachine import me.angrybyte.kssm.dsl.to import java.util.concurrent.Executors -@ExperimentalCoroutinesApi fun main() = runBlocking { // NOTE: infix function 'to' comes from the DSL package diff --git a/demo/src/main/kotlin/Demo_Observers.kt b/demo/src/main/kotlin/Demo_Observers.kt index e61eab7..83f7ed1 100644 --- a/demo/src/main/kotlin/Demo_Observers.kt +++ b/demo/src/main/kotlin/Demo_Observers.kt @@ -8,7 +8,6 @@ import WaterState.Empty import WaterState.Ice import WaterState.Liquid import WaterState.Steam -import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.Job import kotlinx.coroutines.joinAll import kotlinx.coroutines.runBlocking @@ -18,7 +17,6 @@ import me.angrybyte.kssm.dsl.stateMachine import me.angrybyte.kssm.dsl.to import java.lang.System.err -@ExperimentalCoroutinesApi fun main() = runBlocking { // NOTE: infix function 'to' comes from the DSL package diff --git a/demo/src/main/kotlin/Demo_Payloads.kt b/demo/src/main/kotlin/Demo_Payloads.kt index 70f556b..80a4642 100644 --- a/demo/src/main/kotlin/Demo_Payloads.kt +++ b/demo/src/main/kotlin/Demo_Payloads.kt @@ -1,7 +1,6 @@ @file:Suppress("DuplicatedCode") import WaterState.Empty -import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.Job import kotlinx.coroutines.joinAll import kotlinx.coroutines.runBlocking @@ -16,7 +15,6 @@ import java.lang.System.err import java.util.concurrent.atomic.AtomicInteger @Suppress("UNCHECKED_CAST") -@ExperimentalCoroutinesApi fun main() = runBlocking { // NOTE: we can manipulate the payload as long as it's internally mutable diff --git a/kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt b/kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt index 2734ede..24d5bb5 100644 --- a/kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt +++ b/kssm/src/main/kotlin/me/angrybyte/kssm/dsl/StateMachineDsl.kt @@ -1,7 +1,6 @@ package me.angrybyte.kssm.dsl import kotlinx.coroutines.CoroutineDispatcher -import kotlinx.coroutines.ExperimentalCoroutinesApi import me.angrybyte.kssm.api.ErrorHandler import me.angrybyte.kssm.api.State import me.angrybyte.kssm.api.StateMachine @@ -127,12 +126,10 @@ class StateMachineDsl( /** * Starts the DSL ([StateMachineDsl]) with a configuration block on a new state machine instance. */ -@ExperimentalCoroutinesApi fun stateMachine(initialize: StateMachineDsl.() -> Unit): StateMachine = StateMachineDsl(StateMachineImpl()).apply(initialize).instance /** * Starts the DSL ([StateMachineDsl]) without a configuration block on a new state machine instance. */ -@ExperimentalCoroutinesApi fun stateMachine(): StateMachine = StateMachineImpl() \ No newline at end of file diff --git a/kssm/src/main/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImpl.kt b/kssm/src/main/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImpl.kt index c429e77..09deeef 100644 --- a/kssm/src/main/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImpl.kt +++ b/kssm/src/main/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImpl.kt @@ -4,7 +4,6 @@ import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.ExecutorCoroutineDispatcher -import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.Job import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.flow.Flow @@ -46,7 +45,6 @@ import me.angrybyte.kssm.impl.state.CoreState.None * } * ``` */ -@ExperimentalCoroutinesApi internal class StateMachineImpl : StateMachine, CoroutineScope { // Coroutine scope setup diff --git a/kssm/src/test/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImplTest.kt b/kssm/src/test/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImplTest.kt index 1da0eb1..6c8edd4 100644 --- a/kssm/src/test/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImplTest.kt +++ b/kssm/src/test/kotlin/me/angrybyte/kssm/impl/machine/StateMachineImplTest.kt @@ -31,7 +31,7 @@ import me.angrybyte.kssm.util.shouldThrow import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test -@ExperimentalCoroutinesApi +@ExperimentalCoroutinesApi // because of TestCoroutineDispatcher internal class StateMachineImplTest { companion object { From 614933857411162af01a73725fed469d6cca87f9 Mon Sep 17 00:00:00 2001 From: Milos Marinkovic Date: Sat, 31 Oct 2020 12:50:19 +0100 Subject: [PATCH 3/3] Update docs to reflect the latest changes --- docs/kssm/index.html | 22 +-- .../-incubation-exception/cause.html | 2 +- .../-incubation-exception/index.html | 80 +++++----- .../-incubation-exception/message.html | 2 +- .../-incubation-passed-exception.html | 2 +- .../-incubation-passed-exception/cause.html | 2 +- .../component1.html | 2 +- .../-incubation-passed-exception/copy.html | 2 +- .../-incubation-passed-exception/index.html | 96 ++++++------ .../-incubation-passed-exception/message.html | 2 +- .../operation.html | 2 +- .../-no-mapping-exception.html | 2 +- .../-no-mapping-exception/action.html | 2 +- .../-no-mapping-exception/cause.html | 2 +- .../-no-mapping-exception/component1.html | 2 +- .../-no-mapping-exception/component2.html | 2 +- .../-no-mapping-exception/copy.html | 2 +- .../-no-mapping-exception/index.html | 104 ++++++------- .../-no-mapping-exception/message.html | 2 +- .../-no-mapping-exception/state.html | 2 +- .../-state-mapping/-state-mapping.html | 2 +- .../-state-mapping/action.html | 2 +- .../-state-mapping/component1.html | 2 +- .../-state-mapping/component2.html | 2 +- .../-state-mapping/component3.html | 2 +- .../-state-mapping/copy.html | 2 +- .../-state-mapping/destination.html | 2 +- .../-state-mapping/index.html | 50 +++--- .../-state-mapping/source.html | 2 +- .../-state-mapping/to-string.html | 2 +- .../-transition/-transition.html | 2 +- .../-transition/action.html | 2 +- .../-transition/component1.html | 2 +- .../-transition/component2.html | 2 +- .../-transition/component3.html | 2 +- .../-transition/copy.html | 2 +- .../-transition/index.html | 50 +++--- .../-transition/new-state.html | 2 +- .../-transition/old-state.html | 2 +- .../-transition/to-string.html | 2 +- .../me.angrybyte.kssm.api.data/index.html | 40 ++--- .../require-payload.html | 2 +- .../me.angrybyte.kssm.api/-action/index.html | 44 +++--- .../me.angrybyte.kssm.api/-action/name.html | 2 +- .../-action/payload.html | 2 +- .../-state-machine/add-error-handler.html | 4 +- .../-state-machine/add-state-mapping.html | 2 +- .../add-transition-handler.html | 4 +- .../-state-machine/current-state.html | 2 +- .../-state-machine/errors.html | 2 +- .../-state-machine/finish.html | 2 +- .../-state-machine/get-all-actions.html | 2 +- .../-state-machine/get-all-states.html | 2 +- .../-state-machine/index.html | 142 +++++++++--------- .../-state-machine/last-action.html | 2 +- .../-state-machine/observe-errors.html | 2 +- .../-state-machine/observe-transitions.html | 2 +- .../-state-machine/remove-error-handler.html | 4 +- .../remove-transition-handler.html | 4 +- .../set-default-dispatcher.html | 2 +- .../set-error-handler-dispatcher.html | 2 +- .../-state-machine/set-initial-state.html | 2 +- .../set-strict-state-matching.html | 4 +- .../set-transition-handler-dispatcher.html | 2 +- .../-state-machine/transition.html | 2 +- .../-state-machine/transitions.html | 2 +- .../me.angrybyte.kssm.api/-state/index.html | 38 ++--- .../me.angrybyte.kssm.api/-state/name.html | 2 +- .../me.angrybyte.kssm.api/-state/payload.html | 2 +- docs/kssm/me.angrybyte.kssm.api/index.html | 36 ++--- .../-state-machine-dsl.html | 2 +- .../default-dispatcher.html | 2 +- .../-state-machine-dsl/error-handler.html | 4 +- .../-state-machine-dsl/errors-dispatcher.html | 2 +- .../-state-machine-dsl/index.html | 66 ++++---- .../-state-machine-dsl/initial-state.html | 2 +- .../-state-machine-dsl/mappings.html | 2 +- .../transition-handler.html | 4 +- .../transitions-dispatcher.html | 2 +- .../use-strict-matching.html | 2 +- .../-state-vector/-state-vector.html | 2 +- .../-state-vector/action.html | 2 +- .../-state-vector/component1.html | 2 +- .../-state-vector/component2.html | 2 +- .../-state-vector/copy.html | 2 +- .../-state-vector/index.html | 50 +++--- .../-state-vector/source.html | 2 +- docs/kssm/me.angrybyte.kssm.dsl/index.html | 62 ++++---- docs/kssm/me.angrybyte.kssm.dsl/moves.html | 2 +- .../me.angrybyte.kssm.dsl/named-action.html | 2 +- .../me.angrybyte.kssm.dsl/named-state.html | 2 +- .../me.angrybyte.kssm.dsl/payload-action.html | 2 +- .../me.angrybyte.kssm.dsl/payload-state.html | 2 +- .../me.angrybyte.kssm.dsl/state-machine.html | 6 +- docs/kssm/me.angrybyte.kssm.dsl/to.html | 2 +- .../-singleton-action/-singleton-action.html | 2 +- .../-singleton-action/index.html | 30 ++-- .../-singleton-action/name.html | 2 +- .../-singleton-action/payload.html | 2 +- .../-singleton-action/to-string.html | 2 +- .../me.angrybyte.kssm.impl.action/index.html | 8 +- .../-singleton-state/-singleton-state.html | 2 +- .../-singleton-state/index.html | 30 ++-- .../-singleton-state/name.html | 2 +- .../-singleton-state/payload.html | 2 +- .../-singleton-state/to-string.html | 2 +- .../me.angrybyte.kssm.impl.state/index.html | 8 +- docs/navigation.html | 52 +++---- 108 files changed, 602 insertions(+), 602 deletions(-) diff --git a/docs/kssm/index.html b/docs/kssm/index.html index e443ab9..ba0af43 100644 --- a/docs/kssm/index.html +++ b/docs/kssm/index.html @@ -26,17 +26,17 @@ -
+

kssm

Packages

-
+
-
me.angrybyte.kssm.api +
me.angrybyte.kssm.api @@ -49,11 +49,11 @@

Packages

- +
- - +
-
me.angrybyte.kssm.dsl +
me.angrybyte.kssm.dsl @@ -83,11 +83,11 @@

Packages

- +
- - +
-
me.angrybyte.kssm.impl.state +
me.angrybyte.kssm.impl.state diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/cause.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/cause.html index 80d962f..1ff9c80 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/cause.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/cause.html @@ -26,7 +26,7 @@ -
+

cause

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/index.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/index.html index 8f55d5a..b354bcb 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/index.html @@ -26,7 +26,7 @@ -
+

IncubationException

@@ -40,10 +40,10 @@

IncubationException

Functions

-
+
-
addSuppressed +
addSuppressed @@ -55,7 +55,7 @@

Functions

-
fun addSuppressed(p0: Throwable) +
fun addSuppressed(p0: Throwable)
- +
-
equals +
equals @@ -81,7 +81,7 @@

Functions

-
open operator fun equals(other: Any?): Boolean +
open operator fun equals(other: Any?): Boolean
- +
-
fillInStackTrace +
fillInStackTrace @@ -107,7 +107,7 @@

Functions

-
open fun fillInStackTrace(): Throwable +
open fun fillInStackTrace(): Throwable
- +
-
getLocalizedMessage +
getLocalizedMessage @@ -133,7 +133,7 @@

Functions

-
open fun getLocalizedMessage(): String +
open fun getLocalizedMessage(): String
- +
-
getStackTrace +
getStackTrace @@ -159,7 +159,7 @@

Functions

-
open fun getStackTrace(): Array<StackTraceElement> +
open fun getStackTrace(): Array<StackTraceElement>
- +
-
getSuppressed +
getSuppressed @@ -185,7 +185,7 @@

Functions

-
fun getSuppressed(): Array<Throwable> +
fun getSuppressed(): Array<Throwable>
- +
-
hashCode +
hashCode @@ -211,7 +211,7 @@

Functions

-
open fun hashCode(): Int +
open fun hashCode(): Int
- +
-
initCause +
initCause @@ -237,7 +237,7 @@

Functions

-
open fun initCause(p0: Throwable): Throwable +
open fun initCause(p0: Throwable): Throwable
- +
-
printStackTrace +
printStackTrace @@ -263,15 +263,15 @@

Functions

-
open fun printStackTrace() +
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream) +Content copied to clipboard
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter) +Content copied to clipboard
open fun printStackTrace(p0: PrintWriter)
- +
-
setStackTrace +
setStackTrace @@ -297,7 +297,7 @@

Functions

-
open fun setStackTrace(p0: Array<StackTraceElement>) +
open fun setStackTrace(p0: Array<StackTraceElement>)
- +
-
toString +
toString @@ -323,7 +323,7 @@

Functions

-
open fun toString(): String +
open fun toString(): String

Properties

-
+
-
cause +
cause @@ -358,10 +358,10 @@

Properties

- +
-
message +
message diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/message.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/message.html index c450370..fc66541 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/message.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-exception/message.html @@ -26,7 +26,7 @@ -
+

message

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/-incubation-passed-exception.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/-incubation-passed-exception.html index d173658..f5ad889 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/-incubation-passed-exception.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/-incubation-passed-exception.html @@ -26,7 +26,7 @@ -
+

IncubationPassedException

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/cause.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/cause.html index 268e152..1f7ca04 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/cause.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/cause.html @@ -26,7 +26,7 @@ -
+

cause

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/component1.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/component1.html index f33b271..20072c1 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/component1.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/component1.html @@ -26,7 +26,7 @@ -
+

component1

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/copy.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/copy.html index d1b6b3d..7e7e7c9 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/copy.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/copy.html @@ -26,7 +26,7 @@ -
+

copy

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/index.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/index.html index a0e3706..acbcb72 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/index.html @@ -26,7 +26,7 @@ -
+

IncubationPassedException

@@ -40,10 +40,10 @@

IncubationPassed

Constructors

-
+
-
IncubationPassedException +
IncubationPassedException @@ -64,10 +64,10 @@

Constructors

Functions

-
+
-
addSuppressed +
addSuppressed @@ -79,7 +79,7 @@

Functions

-
fun addSuppressed(p0: Throwable) +
fun addSuppressed(p0: Throwable)
- +
-
component1 +
component1 @@ -116,10 +116,10 @@

Functions

- +
-
copy +
copy @@ -142,10 +142,10 @@

Functions

- +
-
equals +
equals @@ -157,7 +157,7 @@

Functions

-
open operator override fun equals(other: Any?): Boolean +
open operator override fun equals(other: Any?): Boolean
- +
-
fillInStackTrace +
fillInStackTrace @@ -183,7 +183,7 @@

Functions

-
open fun fillInStackTrace(): Throwable +
open fun fillInStackTrace(): Throwable
- +
-
getLocalizedMessage +
getLocalizedMessage @@ -209,7 +209,7 @@

Functions

-
open fun getLocalizedMessage(): String +
open fun getLocalizedMessage(): String
- +
-
getStackTrace +
getStackTrace @@ -235,7 +235,7 @@

Functions

-
open fun getStackTrace(): Array<StackTraceElement> +
open fun getStackTrace(): Array<StackTraceElement>
- +
-
getSuppressed +
getSuppressed @@ -261,7 +261,7 @@

Functions

-
fun getSuppressed(): Array<Throwable> +
fun getSuppressed(): Array<Throwable>
- +
-
hashCode +
hashCode @@ -287,7 +287,7 @@

Functions

-
open override fun hashCode(): Int +
open override fun hashCode(): Int
- +
-
initCause +
initCause @@ -313,7 +313,7 @@

Functions

-
open fun initCause(p0: Throwable): Throwable +
open fun initCause(p0: Throwable): Throwable
- +
-
printStackTrace +
printStackTrace @@ -339,15 +339,15 @@

Functions

-
open fun printStackTrace() +
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream) +Content copied to clipboard
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter) +Content copied to clipboard
open fun printStackTrace(p0: PrintWriter)
- +
-
setStackTrace +
setStackTrace @@ -373,7 +373,7 @@

Functions

-
open fun setStackTrace(p0: Array<StackTraceElement>) +
open fun setStackTrace(p0: Array<StackTraceElement>)
- +
-
toString +
toString @@ -399,7 +399,7 @@

Functions

-
open override fun toString(): String +
open override fun toString(): String

Properties

-
+
-
cause +
cause @@ -434,10 +434,10 @@

Properties

- +
-
message +
message @@ -456,10 +456,10 @@

Properties

- +
-
operation +
operation diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/message.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/message.html index 0e1e69e..3149543 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/message.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/message.html @@ -26,7 +26,7 @@ -
+

message

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/operation.html b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/operation.html index 08337c8..230cbde 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/operation.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-incubation-passed-exception/operation.html @@ -26,7 +26,7 @@ -
+

operation

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/-no-mapping-exception.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/-no-mapping-exception.html index 2401249..58b0a52 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/-no-mapping-exception.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/-no-mapping-exception.html @@ -26,7 +26,7 @@ -
+

NoMappingException

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/action.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/action.html index 5917e5e..9d7a192 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/action.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/action.html @@ -26,7 +26,7 @@ -
+

action

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/cause.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/cause.html index 5743cdb..2ae8df2 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/cause.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/cause.html @@ -26,7 +26,7 @@ -
+

cause

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component1.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component1.html index d38a795..4cfb4e8 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component1.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component1.html @@ -26,7 +26,7 @@ -
+

component1

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component2.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component2.html index 478b9af..dbfad01 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component2.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/component2.html @@ -26,7 +26,7 @@ -
+

component2

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/copy.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/copy.html index 4fa2455..a9a572b 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/copy.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/copy.html @@ -26,7 +26,7 @@ -
+

copy

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/index.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/index.html index 1cf814c..71af717 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/index.html @@ -26,7 +26,7 @@ -
+

NoMappingException

@@ -40,10 +40,10 @@

NoMapping

Constructors

-
+
-
NoMappingException +
NoMappingException @@ -64,10 +64,10 @@

Constructors

Functions

-
+
-
addSuppressed +
addSuppressed @@ -79,7 +79,7 @@

Functions

-
fun addSuppressed(p0: Throwable) +
fun addSuppressed(p0: Throwable)
- +
-
component1 +
component1 @@ -116,10 +116,10 @@

Functions

- +
-
component2 +
component2 @@ -142,10 +142,10 @@

Functions

- +
-
copy +
copy @@ -168,10 +168,10 @@

Functions

- +
-
equals +
equals @@ -183,7 +183,7 @@

Functions

-
open operator override fun equals(other: Any?): Boolean +
open operator override fun equals(other: Any?): Boolean
- +
-
fillInStackTrace +
fillInStackTrace @@ -209,7 +209,7 @@

Functions

-
open fun fillInStackTrace(): Throwable +
open fun fillInStackTrace(): Throwable
- +
-
getLocalizedMessage +
getLocalizedMessage @@ -235,7 +235,7 @@

Functions

-
open fun getLocalizedMessage(): String +
open fun getLocalizedMessage(): String
- +
-
getStackTrace +
getStackTrace @@ -261,7 +261,7 @@

Functions

-
open fun getStackTrace(): Array<StackTraceElement> +
open fun getStackTrace(): Array<StackTraceElement>
- +
-
getSuppressed +
getSuppressed @@ -287,7 +287,7 @@

Functions

-
fun getSuppressed(): Array<Throwable> +
fun getSuppressed(): Array<Throwable>
- +
-
hashCode +
hashCode @@ -313,7 +313,7 @@

Functions

-
open override fun hashCode(): Int +
open override fun hashCode(): Int
- +
-
initCause +
initCause @@ -339,7 +339,7 @@

Functions

-
open fun initCause(p0: Throwable): Throwable +
open fun initCause(p0: Throwable): Throwable
- +
-
printStackTrace +
printStackTrace @@ -365,15 +365,15 @@

Functions

-
open fun printStackTrace() +
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream) +Content copied to clipboard
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter) +Content copied to clipboard
open fun printStackTrace(p0: PrintWriter)
- +
-
setStackTrace +
setStackTrace @@ -399,7 +399,7 @@

Functions

-
open fun setStackTrace(p0: Array<StackTraceElement>) +
open fun setStackTrace(p0: Array<StackTraceElement>)
- +
-
toString +
toString @@ -425,7 +425,7 @@

Functions

-
open override fun toString(): String +
open override fun toString(): String

Properties

-
+
-
action +
action @@ -460,10 +460,10 @@

Properties

- +
-
cause +
cause @@ -482,10 +482,10 @@

Properties

- +
-
message +
message @@ -504,10 +504,10 @@

Properties

- +
-
state +
state diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/message.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/message.html index a8180fa..4c07aab 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/message.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/message.html @@ -26,7 +26,7 @@ -
+

message

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/state.html b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/state.html index ffa057d..3da65ac 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/state.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-no-mapping-exception/state.html @@ -26,7 +26,7 @@ -
+

state

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/-state-mapping.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/-state-mapping.html index 0ea2be8..23056ef 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/-state-mapping.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/-state-mapping.html @@ -26,7 +26,7 @@ -
+

StateMapping

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/action.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/action.html index f9a7791..dbfb81c 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/action.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/action.html @@ -26,7 +26,7 @@ -
+

action

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component1.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component1.html index 0404777..1ad1743 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component1.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component1.html @@ -26,7 +26,7 @@ -
+

component1

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component2.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component2.html index 26f12f2..401b9da 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component2.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component2.html @@ -26,7 +26,7 @@ -
+

component2

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component3.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component3.html index ffba09c..5973e08 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component3.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/component3.html @@ -26,7 +26,7 @@ -
+

component3

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/copy.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/copy.html index 9715280..eed7db0 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/copy.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/copy.html @@ -26,7 +26,7 @@ -
+

copy

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/destination.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/destination.html index 41df81e..987bbd0 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/destination.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/destination.html @@ -26,7 +26,7 @@ -
+

destination

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/index.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/index.html index c36664c..8263cda 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/index.html @@ -26,7 +26,7 @@ -
+

StateMapping

@@ -48,10 +48,10 @@

Parameters

A

action's payload type

action

the trigger/action (what makes the transition start)

D

destination state's payload type

destination

the goal state (where the transition would end at)

S

source state's payload type

source

the origin state (where the transition would start from)

Constructors

-
+
-
StateMapping +
StateMapping @@ -72,10 +72,10 @@

Constructors

Functions

-
+
-
component1 +
component1 @@ -98,10 +98,10 @@

Functions

- +
-
component2 +
component2 @@ -124,10 +124,10 @@

Functions

- +
-
component3 +
component3 @@ -150,10 +150,10 @@

Functions

- +
-
copy +
copy @@ -176,10 +176,10 @@

Functions

- +
-
equals +
equals @@ -191,7 +191,7 @@

Functions

-
open operator override fun equals(other: Any?): Boolean +
open operator override fun equals(other: Any?): Boolean
- +
-
hashCode +
hashCode @@ -217,7 +217,7 @@

Functions

-
open override fun hashCode(): Int +
open override fun hashCode(): Int
- +
-
toString +
toString @@ -256,10 +256,10 @@

Functions

Properties

-
+
-
action +
action @@ -278,10 +278,10 @@

Properties

- +
-
destination +
destination @@ -300,10 +300,10 @@

Properties

- +
-
source +
source diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/source.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/source.html index d400e8a..a4a108a 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/source.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/source.html @@ -26,7 +26,7 @@ -
+

source

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/to-string.html b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/to-string.html index f00b1c9..0fa2591 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/to-string.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-state-mapping/to-string.html @@ -26,7 +26,7 @@ -
+

toString

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/-transition.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/-transition.html index f098f48..3ef5e20 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/-transition.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/-transition.html @@ -26,7 +26,7 @@ -
+

Transition

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/action.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/action.html index 70e0f9f..8c4ca97 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/action.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/action.html @@ -26,7 +26,7 @@ -
+

action

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component1.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component1.html index 451ceea..cce7be3 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component1.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component1.html @@ -26,7 +26,7 @@ -
+

component1

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component2.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component2.html index 3ad36d0..be06acc 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component2.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component2.html @@ -26,7 +26,7 @@ -
+

component2

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component3.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component3.html index 0c0f419..4621daf 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/component3.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/component3.html @@ -26,7 +26,7 @@ -
+

component3

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/copy.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/copy.html index cf998c0..771b5db 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/copy.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/copy.html @@ -26,7 +26,7 @@ -
+

copy

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/index.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/index.html index 0951078..5611e2a 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/index.html @@ -26,7 +26,7 @@ -
+

Transition

@@ -48,10 +48,10 @@

Parameters

A

the action's payload type

action

the action that triggered the state transition

D

the new state's payload type

newState

the state to which the StateMachine transitioned

oldState

the state from which the StateMachine transitioned

S

the old state's payload type

Constructors

-
+
-
Transition +
Transition @@ -72,10 +72,10 @@

Constructors

Functions

-
+
-
component1 +
component1 @@ -98,10 +98,10 @@

Functions

- +
-
component2 +
component2 @@ -124,10 +124,10 @@

Functions

- +
-
component3 +
component3 @@ -150,10 +150,10 @@

Functions

- +
-
copy +
copy @@ -176,10 +176,10 @@

Functions

- +
-
equals +
equals @@ -191,7 +191,7 @@

Functions

-
open operator override fun equals(other: Any?): Boolean +
open operator override fun equals(other: Any?): Boolean
- +
-
hashCode +
hashCode @@ -217,7 +217,7 @@

Functions

-
open override fun hashCode(): Int +
open override fun hashCode(): Int
- +
-
toString +
toString @@ -256,10 +256,10 @@

Functions

Properties

-
+
-
action +
action @@ -278,10 +278,10 @@

Properties

- +
-
newState +
newState @@ -300,10 +300,10 @@

Properties

- +
-
oldState +
oldState diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/new-state.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/new-state.html index 80c74a0..58e881c 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/new-state.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/new-state.html @@ -26,7 +26,7 @@ -
+

newState

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/old-state.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/old-state.html index 7b86886..efc869f 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/old-state.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/old-state.html @@ -26,7 +26,7 @@ -
+

oldState

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/-transition/to-string.html b/docs/kssm/me.angrybyte.kssm.api.data/-transition/to-string.html index fd52d4a..b9855e9 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/-transition/to-string.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/-transition/to-string.html @@ -26,7 +26,7 @@ -
+

toString

diff --git a/docs/kssm/me.angrybyte.kssm.api.data/index.html b/docs/kssm/me.angrybyte.kssm.api.data/index.html index 0bd4439..3b00458 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/index.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/index.html @@ -26,7 +26,7 @@ -
+

Package me.angrybyte.kssm.api.data

@@ -35,10 +35,10 @@

Package me.angrybyte.

Types

-
+
-
IncubationException +
IncubationException @@ -56,15 +56,15 @@

Types

Content copied to clipboard
-
Signals the catcher that StateMachine is in incubation state.
+
Signals the catcher that StateMachine is in incubation state.
- +
-
IncubationPassedException +
IncubationPassedException @@ -82,15 +82,15 @@

Types

Content copied to clipboard
-
Signals the catcher that StateMachine has passed the incubation state.
+
Signals the catcher that StateMachine has passed the incubation state.
- +
-
NoMappingException +
NoMappingException @@ -108,15 +108,15 @@

Types

Content copied to clipboard
-
Signals the catcher that StateMachine doesn't have the mapping registered for the given state and action.
+
Signals the catcher that StateMachine doesn't have the mapping registered for the given state and action.
- +
-
StateMapping +
StateMapping @@ -134,15 +134,15 @@

Types

Content copied to clipboard
-
Keeps information about a particular state-to-state transition mapping.
+
Keeps information about a particular state-to-state transition mapping.
- +
-
Transition +
Transition @@ -160,17 +160,17 @@

Types

Content copied to clipboard
-
In most ways a structurally similar data model to StateMapping.
+
In most ways a structurally similar data model to StateMapping.

Functions

-
+
-
requirePayload +
requirePayload @@ -188,7 +188,7 @@

Functions

Content copied to clipboard
-
Force casts the payload object into a non-null value of type T and returns it.
+
Force casts the payload object into a non-null value of type T and returns it.
@@ -198,7 +198,7 @@

Functions

Content copied to clipboard
-
Force casts the payload object into a non-null value of type T and returns it.
+
Force casts the payload object into a non-null value of type T and returns it.
diff --git a/docs/kssm/me.angrybyte.kssm.api.data/require-payload.html b/docs/kssm/me.angrybyte.kssm.api.data/require-payload.html index 98966a2..b49484c 100644 --- a/docs/kssm/me.angrybyte.kssm.api.data/require-payload.html +++ b/docs/kssm/me.angrybyte.kssm.api.data/require-payload.html @@ -26,7 +26,7 @@ -
+

requirePayload

diff --git a/docs/kssm/me.angrybyte.kssm.api/-action/index.html b/docs/kssm/me.angrybyte.kssm.api/-action/index.html index 1011354..72a1124 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-action/index.html +++ b/docs/kssm/me.angrybyte.kssm.api/-action/index.html @@ -26,7 +26,7 @@ -
+

Action

@@ -48,10 +48,10 @@

Parameters

T

the action's payload type

Functions

-
+
-
equals +
equals @@ -63,7 +63,7 @@

Functions

-
open operator fun equals(other: Any?): Boolean +
open operator fun equals(other: Any?): Boolean
- +
-
hashCode +
hashCode @@ -89,7 +89,7 @@

Functions

-
open fun hashCode(): Int +
open fun hashCode(): Int
- +
-
toString +
toString @@ -115,7 +115,7 @@

Functions

-
open fun toString(): String +
open fun toString(): String

Properties

-
+
-
name +
name @@ -150,10 +150,10 @@

Properties

- +
-
payload +
payload @@ -174,10 +174,10 @@

Properties

Inheritors

-
+
-
SingletonAction +
SingletonAction @@ -190,10 +190,10 @@

Inheritors

Extensions

-
+
-
moves +
moves @@ -211,15 +211,15 @@

Extensions

Content copied to clipboard
-
Binds an Action and a source State into a StateVector.
+
Binds an Action and a source State into a StateVector.
- +
-
requirePayload +
requirePayload @@ -237,7 +237,7 @@

Extensions

Content copied to clipboard
-
Force casts the payload object into a non-null value of type T and returns it.
+
Force casts the payload object into a non-null value of type T and returns it.
diff --git a/docs/kssm/me.angrybyte.kssm.api/-action/name.html b/docs/kssm/me.angrybyte.kssm.api/-action/name.html index 494a14a..0c5f396 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-action/name.html +++ b/docs/kssm/me.angrybyte.kssm.api/-action/name.html @@ -26,7 +26,7 @@ -
+

name

diff --git a/docs/kssm/me.angrybyte.kssm.api/-action/payload.html b/docs/kssm/me.angrybyte.kssm.api/-action/payload.html index f9a4c12..44fa9ea 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-action/payload.html +++ b/docs/kssm/me.angrybyte.kssm.api/-action/payload.html @@ -26,7 +26,7 @@ -
+

payload

diff --git a/docs/kssm/me.angrybyte.kssm.api/-state-machine/add-error-handler.html b/docs/kssm/me.angrybyte.kssm.api/-state-machine/add-error-handler.html index 0639ca3..46b6028 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-state-machine/add-error-handler.html +++ b/docs/kssm/me.angrybyte.kssm.api/-state-machine/add-error-handler.html @@ -26,7 +26,7 @@ -
+

addErrorHandler

@@ -34,7 +34,7 @@

addError
-
abstract fun addErrorHandler(handler: ErrorHandler) +
abstract fun addErrorHandler(handler: ErrorHandler)
- +
-
setStrictStateMatching +
setStrictStateMatching @@ -455,15 +455,15 @@

Functions

Content copied to clipboard
-
Allows the caller to switch between strict and loose state matching modes.
+
Allows the caller to switch between strict and loose state matching modes.
- +
-
setTransitionHandlerDispatcher +
setTransitionHandlerDispatcher @@ -481,15 +481,15 @@

Functions

Content copied to clipboard

-
Changes the dispatcher that reports transition changes.
+
Changes the dispatcher that reports transition changes.
- +
-
toString +
toString @@ -501,7 +501,7 @@

Functions

-
open fun toString(): String +
open fun toString(): String
- +
-
transition +
transition @@ -533,17 +533,17 @@

Functions

Content copied to clipboard
-
Attempts to transition the state machine into a new State using the given Action.
+
Attempts to transition the state machine into a new State using the given Action.

Properties

-
+
-
currentState +
currentState @@ -562,10 +562,10 @@

Properties

- +
-
errors +
errors @@ -584,10 +584,10 @@

Properties

- +
-
lastAction +
lastAction @@ -606,10 +606,10 @@

Properties

- +
-
transitions +
transitions diff --git a/docs/kssm/me.angrybyte.kssm.api/-state-machine/last-action.html b/docs/kssm/me.angrybyte.kssm.api/-state-machine/last-action.html index 1d27728..4cac804 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-state-machine/last-action.html +++ b/docs/kssm/me.angrybyte.kssm.api/-state-machine/last-action.html @@ -26,7 +26,7 @@ -
+

lastAction

diff --git a/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-errors.html b/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-errors.html index 3cf431b..1562a08 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-errors.html +++ b/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-errors.html @@ -26,7 +26,7 @@ -
+

observeErrors

diff --git a/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-transitions.html b/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-transitions.html index 2cc235e..5bf6aaf 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-transitions.html +++ b/docs/kssm/me.angrybyte.kssm.api/-state-machine/observe-transitions.html @@ -26,7 +26,7 @@ -
+

observeTransitions

diff --git a/docs/kssm/me.angrybyte.kssm.api/-state-machine/remove-error-handler.html b/docs/kssm/me.angrybyte.kssm.api/-state-machine/remove-error-handler.html index 12d2bba..75c50d7 100644 --- a/docs/kssm/me.angrybyte.kssm.api/-state-machine/remove-error-handler.html +++ b/docs/kssm/me.angrybyte.kssm.api/-state-machine/remove-error-handler.html @@ -26,7 +26,7 @@ -
+

removeErrorHandler

@@ -34,7 +34,7 @@

removeError
-
abstract fun removeErrorHandler(handler: ErrorHandler) +
abstract fun removeErrorHandler(handler: ErrorHandler)