Record Class PluginConfiguration
java.lang.Object
java.lang.Record
de.julianweinelt.datacat.dbx.api.plugins.PluginConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionPluginConfiguration(String pluginName, List<String> authors, String version, String mainClass, String description, String minAPIVersion, boolean usesEncryption, boolean usesDatabase, boolean storesSensitiveData, List<String> requires) Creates an instance of aPluginConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionauthors()Returns the value of theauthorsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themainClassrecord component.Returns the value of theminAPIVersionrecord component.Returns the value of thepluginNamerecord component.requires()Returns the value of therequiresrecord component.booleanReturns the value of thestoresSensitiveDatarecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theusesDatabaserecord component.booleanReturns the value of theusesEncryptionrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
PluginConfiguration
public PluginConfiguration(String pluginName, List<String> authors, String version, String mainClass, String description, String minAPIVersion, boolean usesEncryption, boolean usesDatabase, boolean storesSensitiveData, List<String> requires) Creates an instance of aPluginConfigurationrecord class.- Parameters:
pluginName- the value for thepluginNamerecord componentauthors- the value for theauthorsrecord componentversion- the value for theversionrecord componentmainClass- the value for themainClassrecord componentdescription- the value for thedescriptionrecord componentminAPIVersion- the value for theminAPIVersionrecord componentusesEncryption- the value for theusesEncryptionrecord componentusesDatabase- the value for theusesDatabaserecord componentstoresSensitiveData- the value for thestoresSensitiveDatarecord componentrequires- the value for therequiresrecord 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 '=='. -
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
authors
Returns the value of theauthorsrecord component.- Returns:
- the value of the
authorsrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
mainClass
Returns the value of themainClassrecord component.- Returns:
- the value of the
mainClassrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
minAPIVersion
Returns the value of theminAPIVersionrecord component.- Returns:
- the value of the
minAPIVersionrecord component
-
usesEncryption
public boolean usesEncryption()Returns the value of theusesEncryptionrecord component.- Returns:
- the value of the
usesEncryptionrecord component
-
usesDatabase
public boolean usesDatabase()Returns the value of theusesDatabaserecord component.- Returns:
- the value of the
usesDatabaserecord component
-
storesSensitiveData
public boolean storesSensitiveData()Returns the value of thestoresSensitiveDatarecord component.- Returns:
- the value of the
storesSensitiveDatarecord component
-
requires
Returns the value of therequiresrecord component.- Returns:
- the value of the
requiresrecord component
-