Class LaunchScriptConfiguration
java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LaunchScriptConfiguration
- All Implemented Interfaces:
Serializable
Encapsulates the configuration of the launch script for an executable jar or war.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the properties that are applied to the launch script when it's being including in the executable archive.@Nullable File
Returns the scriptFile
that will be included in the executable archive.void
properties
(Map<String, String> properties) Sets the properties that are applied to the launch script when it's being including in the executable archive.void
Sets the scriptFile
that will be included in the executable archive.
-
Constructor Details
-
LaunchScriptConfiguration
public LaunchScriptConfiguration()
-
-
Method Details
-
getProperties
-
properties
-
getScript
Returns the scriptFile
that will be included in the executable archive. Whennull
, the default launch script will be used.- Returns:
- the script file
-
setScript
-