类 LaunchScriptConfiguration
java.lang.Object
cn.taketoday.gradle.tasks.bundling.LaunchScriptConfiguration
- 所有已实现的接口:
Serializable
Encapsulates the configuration of the launch script for an executable jar or war.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Wilkinson, Harry Yang
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private StringaugmentLineBreaks(String string) Returns the properties that are applied to the launch script when it's being including in the executable archive.Returns the scriptFilethat will be included in the executable archive.voidproperties(Map<String, String> properties) Sets the properties that are applied to the launch script when it's being including in the executable archive.private voidprivate StringremoveLineBreaks(String string) voidSets the scriptFilethat will be included in the executable archive.
-
字段详细资料
-
WHITE_SPACE_PATTERN
-
LINE_FEED_PATTERN
-
properties
-
script
-
-
构造器详细资料
-
LaunchScriptConfiguration
public LaunchScriptConfiguration() -
LaunchScriptConfiguration
LaunchScriptConfiguration(org.gradle.api.tasks.bundling.AbstractArchiveTask archiveTask)
-
-
方法详细资料
-
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 scriptFilethat will be included in the executable archive. Whennull, the default launch script will be used.- 返回:
- the script file
-
setScript
Sets the scriptFilethat will be included in the executable archive. Whennull, the default launch script will be used.- 参数:
script- the script file
-
removeLineBreaks
-
augmentLineBreaks
-
putIfMissing
-