类 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
 
- 构造器概要- 构造器 - 构造器 - 说明 - DefaultLaunchScript(File file, Map<?,?> properties)Create a new- DefaultLaunchScriptinstance.
 
- 构造器详细资料- DefaultLaunchScript- public DefaultLaunchScript(File file, Map<?,?> properties) throws IOException Create a new- DefaultLaunchScriptinstance.- 参数:
- file- the source script file or- nullto 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() 从接口复制的说明:- LaunchScriptThe content of the launch script as a byte array.- 指定者:
- toByteArray在接口中- LaunchScript
- 返回:
- the script bytes