Record Class Configurations.UploadConfigurationModel
java.lang.Object
java.lang.Record
org.frankframework.console.controllers.Configurations.UploadConfigurationModel
- Enclosing class:
Configurations
-
Constructor Summary
ConstructorsConstructorDescriptionUploadConfigurationModel(String datasource, String user, boolean multiple_configs, boolean activate_config, boolean automatic_reload, org.springframework.web.multipart.MultipartFile file) Creates an instance of aUploadConfigurationModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theactivate_configrecord component.booleanReturns the value of theautomatic_reloadrecord component.Returns the value of thedatasourcerecord component.final booleanIndicates whether some other object is "equal to" this one.org.springframework.web.multipart.MultipartFilefile()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of themultiple_configsrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
UploadConfigurationModel
public UploadConfigurationModel(String datasource, String user, boolean multiple_configs, boolean activate_config, boolean automatic_reload, org.springframework.web.multipart.MultipartFile file) Creates an instance of aUploadConfigurationModelrecord class.- Parameters:
datasource- the value for thedatasourcerecord componentuser- the value for theuserrecord componentmultiple_configs- the value for themultiple_configsrecord componentactivate_config- the value for theactivate_configrecord componentautomatic_reload- the value for theautomatic_reloadrecord componentfile- the value for thefilerecord 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 '=='. -
datasource
Returns the value of thedatasourcerecord component.- Returns:
- the value of the
datasourcerecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
multiple_configs
public boolean multiple_configs()Returns the value of themultiple_configsrecord component.- Returns:
- the value of the
multiple_configsrecord component
-
activate_config
public boolean activate_config()Returns the value of theactivate_configrecord component.- Returns:
- the value of the
activate_configrecord component
-
automatic_reload
public boolean automatic_reload()Returns the value of theautomatic_reloadrecord component.- Returns:
- the value of the
automatic_reloadrecord component
-
file
public org.springframework.web.multipart.MultipartFile file()Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-