Record Class FrontcachePlugins.ConfigReload
java.lang.Object
java.lang.Record
org.frontcache.plugin.host.FrontcachePlugins.ConfigReload
- Enclosing class:
FrontcachePlugins
-
Constructor Summary
ConstructorsConstructorDescriptionConfigReload(boolean ok, String file, String state, List<String> errors) Creates an instance of aConfigReloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.booleanok()Returns the value of theokrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigReload
Creates an instance of aConfigReloadrecord class.- Parameters:
ok- the value for theokrecord componentfile- the value for thefilerecord componentstate- the value for thestaterecord componenterrors- the value for theerrorsrecord 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. -
ok
public boolean ok()Returns the value of theokrecord component.- Returns:
- the value of the
okrecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
errors
-