类 LaunchScriptConfiguration

java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LaunchScriptConfiguration
所有已实现的接口:
Serializable

public class LaunchScriptConfiguration extends Object implements Serializable
Encapsulates the configuration of the launch script for an executable jar or war.
从以下版本开始:
2.0.0
作者:
Andy Wilkinson
另请参阅:
  • 构造器详细资料

    • LaunchScriptConfiguration

      public LaunchScriptConfiguration()
  • 方法详细资料

    • getProperties

      @Input public Map<String,String> getProperties()
      Returns the properties that are applied to the launch script when it's being including in the executable archive.
      返回:
      the properties
    • properties

      public 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.
      参数:
      properties - the properties
    • getScript

      Returns the script File that will be included in the executable archive. When null, the default launch script will be used.
      返回:
      the script file
    • setScript

      public void setScript(File script)
      Sets the script File that will be included in the executable archive. When null, the default launch script will be used.
      参数:
      script - the script file