Interface JvmOptions

All Superinterfaces:
Iterable<JvmOption>

public interface JvmOptions extends Iterable<JvmOption>
Collection of JVM arguments
  • Method Details

    • builder

      static JvmOptionsBuilder builder()
      Creates a new JVM arguments builder instance.
      Returns:
      JVM arguments builder
    • asCollection

      Collection<JvmOption> asCollection()
      Collection of JVM arguments.
      Returns:
      collection of JVM arguments
    • iterator

      default Iterator<JvmOption> iterator()
      Iterator over the JVM arguments.
      Specified by:
      iterator in interface Iterable<JvmOption>
      Returns:
      iterator over the JVM arguments
    • isEmpty

      default boolean isEmpty()
      Checks whether any JVM arguments have been configured.
      Returns:
      true if no argument was configured, otherwise - false
    • setAsExtensionDevModeProperties

      default void setAsExtensionDevModeProperties(Properties props)
      Adds all the configured JVM arguments as properties.
      Parameters:
      props - properties to add the JVM arguments to