org.wildfly.extras.creaper.commands.domain
Class AddJvmConfiguration.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.domain.AddJvmConfiguration.Builder
Enclosing class:
AddJvmConfiguration

public static final class AddJvmConfiguration.Builder
extends Object


Constructor Summary
AddJvmConfiguration.Builder(Address parentAddress, String jvmName)
           
 
Method Summary
 AddJvmConfiguration build()
           
 AddJvmConfiguration.Builder heapSize(String heapSize)
          The initial heap size allocated by the JVM
 AddJvmConfiguration.Builder javaHome(String javaHome)
          The java home
 AddJvmConfiguration.Builder maxHeapSize(String maxHeapSize)
          The maximum heap size that can be allocated by the JVM
 AddJvmConfiguration.Builder maxPermgenSize(String maxPermgenSize)
          The maximum size of the permanent generation
 AddJvmConfiguration.Builder permgenSize(String permgenSize)
          The initial permanent generation size
 AddJvmConfiguration.Builder type(AddJvmConfiguration.JvmType type)
          The JVM type can be either SUN or IBM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddJvmConfiguration.Builder

public AddJvmConfiguration.Builder(Address parentAddress,
                                   String jvmName)
Parameters:
parentAddress - parent for jvm configuraton, e.g. server-group or server-config
jvmName - name of new created jvm configuration
Throws:
IllegalArgumentException - if the parentAddress or jvmName is null
Method Detail

heapSize

public AddJvmConfiguration.Builder heapSize(String heapSize)
The initial heap size allocated by the JVM


maxHeapSize

public AddJvmConfiguration.Builder maxHeapSize(String maxHeapSize)
The maximum heap size that can be allocated by the JVM


permgenSize

public AddJvmConfiguration.Builder permgenSize(String permgenSize)
The initial permanent generation size


maxPermgenSize

public AddJvmConfiguration.Builder maxPermgenSize(String maxPermgenSize)
The maximum size of the permanent generation


type

public AddJvmConfiguration.Builder type(AddJvmConfiguration.JvmType type)
The JVM type can be either SUN or IBM. Using the OTHER value is undocumented.


javaHome

public AddJvmConfiguration.Builder javaHome(String javaHome)
The java home


build

public AddJvmConfiguration build()


Copyright © 2020. All rights reserved.