Class DefaultLaunchScript

  • All Implemented Interfaces:
    LaunchScript

    public class DefaultLaunchScript
    extends Object
    implements LaunchScript
    Default implementation of LaunchScript. Provides the default Spring Boot launch script or can load a specific script File. Also support mustache style template expansion of the form {{name:default}}.
    Since:
    1.3.0
    • Constructor Detail

      • DefaultLaunchScript

        public DefaultLaunchScript​(File file,
                                   Map<?,​?> properties)
                            throws IOException
        Create a new DefaultLaunchScript instance.
        Parameters:
        file - the source script file or null to use the default
        properties - an optional set of script properties used for variable expansion
        Throws:
        IOException - if the script cannot be loaded