Class StepConfig

    • Constructor Detail

      • StepConfig

        public StepConfig()
        Default constructor for StepConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • StepConfig

        public StepConfig​(String name,
                          HadoopJarStepConfig hadoopJarStep)
        Constructs a new StepConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        name - The name of the job flow step.
        hadoopJarStep - The JAR file used for the job flow step.
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the job flow step.

        Parameters:
        name - The name of the job flow step.
      • getName

        public String getName()

        The name of the job flow step.

        Returns:
        The name of the job flow step.
      • withName

        public StepConfig withName​(String name)

        The name of the job flow step.

        Parameters:
        name - The name of the job flow step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setActionOnFailure

        public void setActionOnFailure​(String actionOnFailure)

        The action to take if the job flow step fails.

        Parameters:
        actionOnFailure - The action to take if the job flow step fails.
        See Also:
        ActionOnFailure
      • getActionOnFailure

        public String getActionOnFailure()

        The action to take if the job flow step fails.

        Returns:
        The action to take if the job flow step fails.
        See Also:
        ActionOnFailure
      • withActionOnFailure

        public StepConfig withActionOnFailure​(String actionOnFailure)

        The action to take if the job flow step fails.

        Parameters:
        actionOnFailure - The action to take if the job flow step fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionOnFailure
      • setActionOnFailure

        public void setActionOnFailure​(ActionOnFailure actionOnFailure)

        The action to take if the job flow step fails.

        Parameters:
        actionOnFailure - The action to take if the job flow step fails.
        See Also:
        ActionOnFailure
      • withActionOnFailure

        public StepConfig withActionOnFailure​(ActionOnFailure actionOnFailure)

        The action to take if the job flow step fails.

        Parameters:
        actionOnFailure - The action to take if the job flow step fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionOnFailure
      • setHadoopJarStep

        public void setHadoopJarStep​(HadoopJarStepConfig hadoopJarStep)

        The JAR file used for the job flow step.

        Parameters:
        hadoopJarStep - The JAR file used for the job flow step.
      • getHadoopJarStep

        public HadoopJarStepConfig getHadoopJarStep()

        The JAR file used for the job flow step.

        Returns:
        The JAR file used for the job flow step.
      • withHadoopJarStep

        public StepConfig withHadoopJarStep​(HadoopJarStepConfig hadoopJarStep)

        The JAR file used for the job flow step.

        Parameters:
        hadoopJarStep - The JAR file used for the job flow step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object