Class ClusterStepHadoopJarStep


  • public final class ClusterStepHadoopJarStep
    extends java.lang.Object
    • Method Detail

      • args

        public java.util.List<java.lang.String> args()
        Returns:
        List of command line arguments passed to the JAR file's main function when executed.
      • jar

        public java.lang.String jar()
        Returns:
        Path to a JAR file run during the step.
      • mainClass

        public java.util.Optional<java.lang.String> mainClass()
        Returns:
        Name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
        Returns:
        Key-Value map of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.