public class DefaultLaunchScript extends java.lang.Object implements LaunchScript
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}}.| Constructor and Description |
|---|
DefaultLaunchScript(java.io.File file,
java.util.Map<?,?> properties)
Create a new
DefaultLaunchScript instance. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
toByteArray()
The content of the launch script as a byte array.
|
public DefaultLaunchScript(java.io.File file,
java.util.Map<?,?> properties)
throws java.io.IOException
DefaultLaunchScript instance.file - the source script file or null to use the defaultproperties - an optional set of script properties used for variable expansionjava.io.IOException - if the script cannot be loadedpublic byte[] toByteArray()
LaunchScripttoByteArray in interface LaunchScript