Class Block

  • All Implemented Interfaces:
    Serializable, BaseStepExtender, Step

    @KFStep(name="Block",
            category="Flow",
            toolTipText="Block until a specific step has finished procesing",
            iconPath="weka/gui/knowledgeflow/icons/DiamondPlain.gif")
    public class Block
    extends BaseStep
    A step that waits for a specified step to finish processing before allowing incoming data to proceed downstream.
    Version:
    $Revision: $
    Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)
    See Also:
    Serialized Form
    • Constructor Detail

      • Block

        public Block()
    • Method Detail

      • setStepToWaitFor

        @OptionMetadata(displayName="Wait until this step has completed",
                        description="This step will prevent data from passing downstream until the specified step has finished processing")
        public void setStepToWaitFor​(String stepToWaitFor)
        Set the step to wait for
        Parameters:
        stepToWaitFor - the step to wait for
      • getStepToWaitFor

        public String getStepToWaitFor()
        Get the step to wait for
        Returns:
        the step to wait for
      • getIncomingConnectionTypes

        public List<String> getIncomingConnectionTypes()
        Get a list of incoming connection types that this step can accept at this time
        Returns:
        a list of incoming connection types
      • getOutgoingConnectionTypes

        public List<String> getOutgoingConnectionTypes()
        Get a list of outgoing connection types that this step can produce at this time
        Returns:
        a list of outgoing connection types