-
public final class RouterTransactionMetadata used for adding Controllers to a Router.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRouterTransaction.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Controllercontrollerprivate IntegertransactionIndex
-
Method Summary
Modifier and Type Method Description final Controllercontroller()final IntegergetTransactionIndex()final UnitsetTransactionIndex(Integer transactionIndex)final UnitonAttachedToRouter()final Stringtag()final RouterTransactiontag(String tag)final ControllerChangeHandlerpushChangeHandler()final RouterTransactionpushChangeHandler(ControllerChangeHandler handler)final ControllerChangeHandlerpopChangeHandler()final RouterTransactionpopChangeHandler(ControllerChangeHandler handler)final UnitensureValidIndex(TransactionIndexer indexer)final BundlesaveInstanceState()Used to serialize this transaction into a Bundle -
-
Method Detail
-
controller
final Controller controller()
-
getTransactionIndex
final Integer getTransactionIndex()
-
setTransactionIndex
final Unit setTransactionIndex(Integer transactionIndex)
-
onAttachedToRouter
final Unit onAttachedToRouter()
-
tag
final RouterTransaction tag(String tag)
-
pushChangeHandler
final ControllerChangeHandler pushChangeHandler()
-
pushChangeHandler
final RouterTransaction pushChangeHandler(ControllerChangeHandler handler)
-
popChangeHandler
final ControllerChangeHandler popChangeHandler()
-
popChangeHandler
final RouterTransaction popChangeHandler(ControllerChangeHandler handler)
-
ensureValidIndex
final Unit ensureValidIndex(TransactionIndexer indexer)
-
saveInstanceState
final Bundle saveInstanceState()
Used to serialize this transaction into a Bundle
-
-
-
-