类 DefaultLaunchScript

java.lang.Object
org.springframework.boot.loader.tools.DefaultLaunchScript
所有已实现的接口:
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}}.
从以下版本开始:
1.3.0
作者:
Phillip Webb, Justin Rosenberg
  • 构造器详细资料

    • DefaultLaunchScript

      public DefaultLaunchScript(File file, Map<?,?> properties) throws IOException
      Create a new DefaultLaunchScript instance.
      参数:
      file - the source script file or null to use the default
      properties - an optional set of script properties used for variable expansion
      抛出:
      IOException - if the script cannot be loaded
  • 方法详细资料

    • toByteArray

      public byte[] toByteArray()
      从接口复制的说明: LaunchScript
      The content of the launch script as a byte array.
      指定者:
      toByteArray 在接口中 LaunchScript
      返回:
      the script bytes