Record Class PluginLoader.PluginJarInfo
java.lang.Object
java.lang.Record
ai.nervemind.app.service.PluginLoader.PluginJarInfo
- Record Components:
pluginId- unique identifier of the pluginpluginName- display name of the pluginpluginVersion- version stringdescription- plugin descriptionjarPath- path to the JAR filetriggerCount- number of triggers found in JARactionCount- number of actions found in JARpluginProviderCount- number of unified plugin providers found in JAR
- Enclosing class:
PluginLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactionCountrecord 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.jarPath()Returns the value of thejarPathrecord component.pluginId()Returns the value of thepluginIdrecord component.Returns the value of thepluginNamerecord component.intReturns the value of thepluginProviderCountrecord component.Returns the value of thepluginVersionrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetriggerCountrecord component.
-
Constructor Details
-
PluginJarInfo
public PluginJarInfo(String pluginId, String pluginName, String pluginVersion, String description, Path jarPath, int triggerCount, int actionCount, int pluginProviderCount) Creates an instance of aPluginJarInforecord class.- Parameters:
pluginId- the value for thepluginIdrecord componentpluginName- the value for thepluginNamerecord componentpluginVersion- the value for thepluginVersionrecord componentdescription- the value for thedescriptionrecord componentjarPath- the value for thejarPathrecord componenttriggerCount- the value for thetriggerCountrecord componentactionCount- the value for theactionCountrecord componentpluginProviderCount- the value for thepluginProviderCountrecord 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. -
pluginId
-
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
pluginVersion
Returns the value of thepluginVersionrecord component.- Returns:
- the value of the
pluginVersionrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
jarPath
-
triggerCount
public int triggerCount()Returns the value of thetriggerCountrecord component.- Returns:
- the value of the
triggerCountrecord component
-
actionCount
public int actionCount()Returns the value of theactionCountrecord component.- Returns:
- the value of the
actionCountrecord component
-
pluginProviderCount
public int pluginProviderCount()Returns the value of thepluginProviderCountrecord component.- Returns:
- the value of the
pluginProviderCountrecord component
-