Class ChannelStep<I,​O>

    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelStep​(java.util.function.Function<Continuation<?>,​ChannelId<O>> fGetChannelId)
      Creates a new instance that operates on a channel the ID of which is provided by a certain function that will be applied to the continuation of an execution.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Channel<O> getChannel​(Continuation<?> rContinuation)
      Returns the channel this step operates on.
      • Methods inherited from class org.obrel.core.RelatedObject

        deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, transform, writeRelations
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface de.esoco.lib.property.Fluent

        _with
      • Methods inherited from interface org.obrel.core.FluentRelatable

        with, with, with
      • Methods inherited from interface org.obrel.core.Relatable

        deleteRelation, deleteRelation, deleteRelations, get, getAll, getOption, getRelation, getRelationCount, getRelations, getRelations, hasFlag, hasRelation, hasRelations, init, set, set, set, set, set, setOption, streamRelations, transform
    • Constructor Detail

      • ChannelStep

        public ChannelStep​(java.util.function.Function<Continuation<?>,​ChannelId<O>> fGetChannelId)
        Creates a new instance that operates on a channel the ID of which is provided by a certain function that will be applied to the continuation of an execution.
        Parameters:
        fGetChannelId - The function that will return the channel ID
    • Method Detail

      • getChannel

        public Channel<O> getChannel​(Continuation<?> rContinuation)
        Returns the channel this step operates on.
        Parameters:
        rContinuation - The current continuation
        Returns:
        The channel