Package com.vaadin.copilot.plugins.info
Record Class CopilotInfo.JdkInfo
java.lang.Object
java.lang.Record
com.vaadin.copilot.plugins.info.CopilotInfo.JdkInfo
- Enclosing class:
- CopilotInfo
public static record CopilotInfo.JdkInfo(boolean jrebel, boolean extendedClassDefCapable, boolean runningWithExtendClassDef, boolean hotswapAgentFound, String hotswapAgentLocation, boolean runningWitHotswap, boolean runningInJavaDebugMode, String hotswapVersion, boolean hotswapVersionOk)
extends Record
-
Constructor Summary
ConstructorDescriptionJdkInfo
(boolean jrebel, boolean extendedClassDefCapable, boolean runningWithExtendClassDef, boolean hotswapAgentFound, String hotswapAgentLocation, boolean runningWitHotswap, boolean runningInJavaDebugMode, String hotswapVersion, boolean hotswapVersionOk) Creates an instance of aJdkInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of theextendedClassDefCapable
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of thehotswapAgentFound
record component.Returns the value of thehotswapAgentLocation
record component.Returns the value of thehotswapVersion
record component.boolean
Returns the value of thehotswapVersionOk
record component.boolean
jrebel()
Returns the value of thejrebel
record component.boolean
Returns the value of therunningInJavaDebugMode
record component.boolean
Returns the value of therunningWithExtendClassDef
record component.boolean
Returns the value of therunningWitHotswap
record component.final String
toString()
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 aJdkInfo
record class.- Parameters:
jrebel
- the value for thejrebel
record componentextendedClassDefCapable
- the value for theextendedClassDefCapable
record componentrunningWithExtendClassDef
- the value for therunningWithExtendClassDef
record componenthotswapAgentFound
- the value for thehotswapAgentFound
record componenthotswapAgentLocation
- the value for thehotswapAgentLocation
record componentrunningWitHotswap
- the value for therunningWitHotswap
record componentrunningInJavaDebugMode
- the value for therunningInJavaDebugMode
record componenthotswapVersion
- the value for thehotswapVersion
record componenthotswapVersionOk
- the value for thehotswapVersionOk
record component
-
-
Method Details
-
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 thejrebel
record component.- Returns:
- the value of the
jrebel
record component
-
extendedClassDefCapable
public boolean extendedClassDefCapable()Returns the value of theextendedClassDefCapable
record component.- Returns:
- the value of the
extendedClassDefCapable
record component
-
runningWithExtendClassDef
public boolean runningWithExtendClassDef()Returns the value of therunningWithExtendClassDef
record component.- Returns:
- the value of the
runningWithExtendClassDef
record component
-
hotswapAgentFound
public boolean hotswapAgentFound()Returns the value of thehotswapAgentFound
record component.- Returns:
- the value of the
hotswapAgentFound
record component
-
hotswapAgentLocation
Returns the value of thehotswapAgentLocation
record component.- Returns:
- the value of the
hotswapAgentLocation
record component
-
runningWitHotswap
public boolean runningWitHotswap()Returns the value of therunningWitHotswap
record component.- Returns:
- the value of the
runningWitHotswap
record component
-
runningInJavaDebugMode
public boolean runningInJavaDebugMode()Returns the value of therunningInJavaDebugMode
record component.- Returns:
- the value of the
runningInJavaDebugMode
record component
-
hotswapVersion
Returns the value of thehotswapVersion
record component.- Returns:
- the value of the
hotswapVersion
record component
-
hotswapVersionOk
public boolean hotswapVersionOk()Returns the value of thehotswapVersionOk
record component.- Returns:
- the value of the
hotswapVersionOk
record component
-