Skip navigation links
A C D E G I K P R S T U W 

A

actions(block) - Method in class de.halfbit.knot.KnotBuilder
A section for Action related declarations.
actions(block) - Method in class de.halfbit.knot.PrimeBuilder
A section for Action related declarations.
ActionsBuilder<Change,Action> - Class in de.halfbit.knot
A configuration builder for Action related declarations.

C

changes(block) - Method in class de.halfbit.knot.CompositeKnotBuilder
A section for Change related declarations.
changes(block) - Method in class de.halfbit.knot.KnotBuilder
A section for Change related declarations.
changes(block) - Method in class de.halfbit.knot.PrimeBuilder
A section for Change related declarations.
compose() - Method in interface de.halfbit.knot.CompositeKnot
Finishes composition of Primes and moves this knot into operational mode.
CompositeKnot<State> - Interface in de.halfbit.knot
If your interface Knot becomes big and you want to improve its redability and maintainability, you may consider to decompose it. You start decomposition by grouping related functionality into, in a certain sense, indecomposable pieces called Primes.
compositeKnot(block) - Static method in class de.halfbit.knot.CompositeKnotBuilderKt
CompositeKnotBuilder<State> - Class in de.halfbit.knot
A configuration builder for a interface CompositeKnot.
CompositeKnotBuilder.ChangesBuilder<Change> - Class in de.halfbit.knot
A configuration builder for Changes.
CompositeKnotBuilderKt - Class in de.halfbit.knot
 

D

de.halfbit.knot - package de.halfbit.knot
 

E

Effect<State,Action> - Class in de.halfbit.knot
Convenience wrapper around State and optional Action.
Effect(state, action) - Constructor for class de.halfbit.knot.Effect
Convenience wrapper around State and optional Action.
events(block) - Method in class de.halfbit.knot.KnotBuilder
A section for Event related declarations.
events(block) - Method in class de.halfbit.knot.PrimeBuilder
A section for Event related declarations.
EventsBuilder<Change> - Class in de.halfbit.knot
A configuration builder for Events related declarations.

G

getAction() - Method in class de.halfbit.knot.Effect
 
getChange() - Method in interface de.halfbit.knot.Knot
Change emitter used for delivering changes to this knot.
getDisposable() - Method in interface de.halfbit.knot.Store
Container disposer. Disposed store stops operating and releases all resources.
getInitial() - Method in class de.halfbit.knot.StateBuilder
Mandatory initial State of the interface Knot.
getObserveOn() - Method in class de.halfbit.knot.StateBuilder
An optional Scheduler used for dispatching state changes.
getOnly($receiver) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
Turns State into an class Effect without Action.
getOnly($receiver) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
Turns State into an class Effect without Action.
getReduceOn() - Method in class de.halfbit.knot.CompositeKnotBuilder.ChangesBuilder
An optional Scheduler used for reduce function.
getReduceOn() - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
An optional Scheduler used for reduce function.
getState() - Method in class de.halfbit.knot.Effect
 
getState() - Method in interface de.halfbit.knot.Store
Observable state.

I

intercept(interceptor) - Method in class de.halfbit.knot.ActionsBuilder
A function for intercepting Action emissions.
intercept(interceptor) - Method in class de.halfbit.knot.CompositeKnotBuilder.ChangesBuilder
A function for intercepting Change emissions.
intercept(interceptor) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
A function for intercepting Change emissions.
intercept(interceptor) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
A function for intercepting Change emissions.
intercept(interceptor) - Method in class de.halfbit.knot.PrimeBuilder.StateBuilder
A function for intercepting State mutations.
intercept(interceptor) - Method in class de.halfbit.knot.StateBuilder
A function for intercepting State mutations.

K

Knot<State,Change> - Interface in de.halfbit.knot
Knot helps managing application state by reacting on events and performing asynchronous actions in a structured way. There are five core concepts Knot defines: State, Change, Reducer, class Effect and Action.
knot(block) - Static method in class de.halfbit.knot.KnotBuilderKt
Creates a interface Knot instance.
KnotBuilder<State,Change,Action> - Class in de.halfbit.knot
A configuration builder for a interface Knot.
KnotBuilder.ChangesBuilder<State,Change,Action> - Class in de.halfbit.knot
 
KnotBuilderKt - Class in de.halfbit.knot
 
KnotDsl - Interface in de.halfbit.knot
 
KnotKt - Class in de.halfbit.knot
 

P

plus($receiver, action) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
Combines State and Action into class Effect.
plus($receiver, action) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
Combines State and Action into class Effect.
PrimeBuilder<State,Change,Action> - Class in de.halfbit.knot
A configuration builder for a Prime.
PrimeBuilder.ChangesBuilder<State,Change,Action> - Class in de.halfbit.knot
A configuration builder for Change related declarations.
PrimeBuilder.StateBuilder<State> - Class in de.halfbit.knot
A configuration builder for State related declarations.

R

reduce(reducer) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
Mandatory reduce function which receives the current State and a Change and must return class Effect with a new State and an optional Action.
reduce(changeType, reduce) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
Mandatory reduce function which receives the current State and a Change and must return class Effect with a new State and an optional Action.
registerPrime(block) - Method in interface de.halfbit.knot.CompositeKnot
Registers a new Prime at this composite knot.

S

setInitial(p) - Method in class de.halfbit.knot.StateBuilder
Mandatory initial State of the interface Knot.
setObserveOn(p) - Method in class de.halfbit.knot.StateBuilder
An optional Scheduler used for dispatching state changes.
setReduceOn(p) - Method in class de.halfbit.knot.CompositeKnotBuilder.ChangesBuilder
An optional Scheduler used for reduce function.
setReduceOn(p) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
An optional Scheduler used for reduce function.
source(source) - Method in class de.halfbit.knot.EventsBuilder
A function used for turning an external observable Event into a Change.
state(block) - Method in class de.halfbit.knot.CompositeKnotBuilder
A section for State related declarations.
state(block) - Method in class de.halfbit.knot.KnotBuilder
A section for State and Change related declarations.
state(block) - Method in class de.halfbit.knot.PrimeBuilder
A section for State related declarations.
StateBuilder<State> - Class in de.halfbit.knot
A configuration builder for State related declarations.
Store<State> - Interface in de.halfbit.knot
Store is a disposable container for a State.

T

testCompositeKnot(block) - Static method in class de.halfbit.knot.CompositeKnotBuilderKt
Creates a interface TestCompositeKnot. To be used in tests only.
TestCompositeKnot<State,Change> - Interface in de.halfbit.knot
A capable of emitting Changes interface for testing interface CompositeKnot and its Primes.

U

unexpected($receiver, change) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
Throws IllegalStateException with current State and given Change in its message.
unexpected($receiver, change) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
Throws IllegalStateException with current State and given Change in its message.

W

watch(watcher) - Method in class de.halfbit.knot.PrimeBuilder.ChangesBuilder
A function for watching Change emissions.
watchAll(watcher) - Method in class de.halfbit.knot.ActionsBuilder
A function for watching Action emissions.
watchAll(watcher) - Method in class de.halfbit.knot.CompositeKnotBuilder.ChangesBuilder
A function for watching Change emissions.
watchAll(watcher) - Method in class de.halfbit.knot.KnotBuilder.ChangesBuilder
A function for watching Change emissions.
watchAll(watcher) - Method in class de.halfbit.knot.PrimeBuilder.StateBuilder
A function for watching mutations of any State.
watchAll(watcher) - Method in class de.halfbit.knot.StateBuilder
A function for watching mutations of any State.
A C D E G I K P R S T U W 
Skip navigation links