Enum Platform

    • Method Detail

      • values

        public static Platform[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Platform c : Platform.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Platform valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getExecutablePattern

        public Pattern getExecutablePattern​(String name)
      • getName

        public String getName()
      • getShell

        public Shell getShell()
      • getUartSpecs

        public UARTSpec[] getUartSpecs()
      • getPathSpec

        public PathSpec getPathSpec()
        The PathSpec of the default Shell when run on this platform. Note that this may not be the same as the PathSpec of the default Shell when run on the it's default platform.
        Returns:
        The path specification for the default shell when run on this platform.