Package com.vaadin.copilot.plugins.info
Record Class JdkInfo
java.lang.Object
java.lang.Record
com.vaadin.copilot.plugins.info.JdkInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAvailable Hotswap solutions. -
Constructor Summary
ConstructorsConstructorDescriptionJdkInfo(boolean jrebel, boolean extendedClassDefCapable, boolean runningWithExtendClassDef, boolean hotswapAgentFound, String hotswapAgentLocation, boolean runningWitHotswap, boolean runningInJavaDebugMode, String hotswapVersion, boolean hotswapVersionOk) Creates an instance of aJdkInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theextendedClassDefCapablerecord component.static JdkInfoget()final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehotswapAgentFoundrecord component.Returns the value of thehotswapAgentLocationrecord component.Returns the value of thehotswapVersionrecord component.booleanReturns the value of thehotswapVersionOkrecord component.booleanjrebel()Returns the value of thejrebelrecord component.booleanReturns the value of therunningInJavaDebugModerecord component.Returns the hotswap solution that is currently in use.booleanReturns the value of therunningWithExtendClassDefrecord component.booleanReturns the value of therunningWitHotswaprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JdkInfo
public JdkInfo(boolean jrebel, boolean extendedClassDefCapable, boolean runningWithExtendClassDef, boolean hotswapAgentFound, String hotswapAgentLocation, boolean runningWitHotswap, boolean runningInJavaDebugMode, String hotswapVersion, boolean hotswapVersionOk) Creates an instance of aJdkInforecord class.- Parameters:
jrebel- the value for thejrebelrecord componentextendedClassDefCapable- the value for theextendedClassDefCapablerecord componentrunningWithExtendClassDef- the value for therunningWithExtendClassDefrecord componenthotswapAgentFound- the value for thehotswapAgentFoundrecord componenthotswapAgentLocation- the value for thehotswapAgentLocationrecord componentrunningWitHotswap- the value for therunningWitHotswaprecord componentrunningInJavaDebugMode- the value for therunningInJavaDebugModerecord componenthotswapVersion- the value for thehotswapVersionrecord componenthotswapVersionOk- the value for thehotswapVersionOkrecord component
-
-
Method Details
-
get
-
runningWith
Returns the hotswap solution that is currently in use.- Returns:
- the hotswap solution that is currently in use
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
jrebel
public boolean jrebel()Returns the value of thejrebelrecord component.- Returns:
- the value of the
jrebelrecord component
-
extendedClassDefCapable
public boolean extendedClassDefCapable()Returns the value of theextendedClassDefCapablerecord component.- Returns:
- the value of the
extendedClassDefCapablerecord component
-
runningWithExtendClassDef
public boolean runningWithExtendClassDef()Returns the value of therunningWithExtendClassDefrecord component.- Returns:
- the value of the
runningWithExtendClassDefrecord component
-
hotswapAgentFound
public boolean hotswapAgentFound()Returns the value of thehotswapAgentFoundrecord component.- Returns:
- the value of the
hotswapAgentFoundrecord component
-
hotswapAgentLocation
Returns the value of thehotswapAgentLocationrecord component.- Returns:
- the value of the
hotswapAgentLocationrecord component
-
runningWitHotswap
public boolean runningWitHotswap()Returns the value of therunningWitHotswaprecord component.- Returns:
- the value of the
runningWitHotswaprecord component
-
runningInJavaDebugMode
public boolean runningInJavaDebugMode()Returns the value of therunningInJavaDebugModerecord component.- Returns:
- the value of the
runningInJavaDebugModerecord component
-
hotswapVersion
Returns the value of thehotswapVersionrecord component.- Returns:
- the value of the
hotswapVersionrecord component
-
hotswapVersionOk
public boolean hotswapVersionOk()Returns the value of thehotswapVersionOkrecord component.- Returns:
- the value of the
hotswapVersionOkrecord component
-