Class Executed

  • Direct Known Subclasses:
    InternalExecuted

    public class Executed
    extends Object
    Executed class is used to describe a Topology instance to be executed.
    • Field Detail

      • name

        protected final String name
      • description

        protected final String description
      • config

        protected final Conf config
    • Constructor Detail

      • Executed

        protected Executed()
        Creates a new Executed instance.
      • Executed

        protected Executed​(Executed executed)
    • Method Detail

      • as

        public static Executed as​(String name)
        Static helper that can be used to creates a new Executed instance with the specified streams name.
        Parameters:
        name - the name of the streams application.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • as

        public static Executed as​(String name,
                                  String description)
        Static helper that can be used to creates a new Executed instance with the specified streams name and description.
        Parameters:
        name - the name of the streams application.
        description - the description of the streams application.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • with

        public static Executed with​(Conf conf)
        Static helper that can be used to creates a new Executed instance with the specified streams name and configuration.
        Parameters:
        conf - the configuration.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • withDescription

        public Executed withDescription​(String description)