类 LaunchScriptConfiguration
java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LaunchScriptConfiguration
- 所有已实现的接口:
Serializable
Encapsulates the configuration of the launch script for an executable jar or war.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the properties that are applied to the launch script when it's being including in the executable archive.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.
-
构造器详细资料
-
LaunchScriptConfiguration
public LaunchScriptConfiguration()
-
-
方法详细资料
-
getProperties
Returns the properties that are applied to the launch script when it's being including in the executable archive.- 返回:
- the properties
-
properties
Sets the properties that are applied to the launch script when it's being including in the executable archive.- 参数:
properties
- the properties
-
getScript
Returns the scriptFile
that will be included in the executable archive. Whennull
, the default launch script will be used.- 返回:
- the script file
-
setScript
Sets the scriptFile
that will be included in the executable archive. Whennull
, the default launch script will be used.- 参数:
script
- the script file
-