Class SpringBootExtension


  • public class SpringBootExtension
    extends java.lang.Object
    Extension properties for the Spring Boot module.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getDebugPort()
      Gets the debug port that will be used by the `bootRunLocalDebug` task.
      java.util.List<java.lang.String> getJvmArgs()
      Gets additional JVM arguments to supply to the `bootRunLocal` and `bootRunLocalDebug` tasks.
      java.util.List<java.lang.String> getProfiles()
      Gets the spring profiles with which to start the `bootRunLocal` and `bootRunLocalDebug` tasks.
      boolean isEnabled()
      Gets whether or not auto-configuration of the spring boot module is enabled.
      void setDebugPort​(int debugPort)
      Sets the debug port that will be used by the `bootRunLocalDebug` task.
      void setEnabled​(boolean enabled)
      Sets whether or not auto-configuration of the spring boot module is enabled.
      void setJvmArgs​(java.util.List<java.lang.String> jvmArgs)
      Sets additional JVM arguments to supply to the `bootRunLocal` and `bootRunLocalDebug` tasks.
      void setProfiles​(java.util.List<java.lang.String> profiles)
      Sets the spring profiles with which to start the `bootRunLocal` and `bootRunLocalDebug` tasks.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_PROFILES

        public static final java.util.List<java.lang.String> DEFAULT_PROFILES
      • DEFAULT_JVM_ARGS

        public static final java.util.List<java.lang.String> DEFAULT_JVM_ARGS
    • Constructor Detail

      • SpringBootExtension

        public SpringBootExtension()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Gets whether or not auto-configuration of the spring boot module is enabled.
        Returns:
        true if auto-configuration is enabled; otherwise false
      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets whether or not auto-configuration of the spring boot module is enabled.
        Parameters:
        enabled - true if enabled; otherwise false to disable
      • getDebugPort

        public int getDebugPort()
        Gets the debug port that will be used by the `bootRunLocalDebug` task.
        Returns:
        debug port
      • setDebugPort

        public void setDebugPort​(int debugPort)
        Sets the debug port that will be used by the `bootRunLocalDebug` task.
        Parameters:
        debugPort - debug port
      • getProfiles

        public java.util.List<java.lang.String> getProfiles()
        Gets the spring profiles with which to start the `bootRunLocal` and `bootRunLocalDebug` tasks.
        Returns:
        spring profiles
      • setProfiles

        public void setProfiles​(java.util.List<java.lang.String> profiles)
        Sets the spring profiles with which to start the `bootRunLocal` and `bootRunLocalDebug` tasks.
        Parameters:
        profiles - spring profiles
      • getJvmArgs

        public java.util.List<java.lang.String> getJvmArgs()
        Gets additional JVM arguments to supply to the `bootRunLocal` and `bootRunLocalDebug` tasks.
        Returns:
        jvm arguments
      • setJvmArgs

        public void setJvmArgs​(java.util.List<java.lang.String> jvmArgs)
        Sets additional JVM arguments to supply to the `bootRunLocal` and `bootRunLocalDebug` tasks.
        Parameters:
        jvmArgs - jvm arguments