Record Class JVMService.ApplicationStartupInformation
java.lang.Object
java.lang.Record
eu.cloudnetservice.node.impl.service.defaults.JVMService.ApplicationStartupInformation
- Enclosing class:
JVMService
protected static record JVMService.ApplicationStartupInformation(boolean preloadJarContent, @NonNull Attributes mainAttributes)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NonNull AttributesThe field for themainAttributesrecord component.private final booleanThe field for thepreloadJarContentrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplicationStartupInformation(boolean preloadJarContent, @NonNull Attributes mainAttributes) Creates an instance of aApplicationStartupInformationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themainAttributesrecord component.booleanReturns the value of thepreloadJarContentrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
preloadJarContent
private final boolean preloadJarContentThe field for thepreloadJarContentrecord component. -
mainAttributes
The field for themainAttributesrecord component.
-
-
Constructor Details
-
ApplicationStartupInformation
protected ApplicationStartupInformation(boolean preloadJarContent, @NonNull @NonNull Attributes mainAttributes) Creates an instance of aApplicationStartupInformationrecord class.- Parameters:
preloadJarContent- the value for thepreloadJarContentrecord componentmainAttributes- the value for themainAttributesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
preloadJarContent
public boolean preloadJarContent()Returns the value of thepreloadJarContentrecord component.- Returns:
- the value of the
preloadJarContentrecord component
-
mainAttributes
Returns the value of themainAttributesrecord component.- Returns:
- the value of the
mainAttributesrecord component
-