Record Class PriintBpmVersionInfo
java.lang.Object
java.lang.Record
com.priint.pubserverapi.infra.priintbpm.PriintBpmVersionInfo
- Record Components:
priintBpmName- official name of priint-bpm applicationpriintBpmVersion- version of the priint-bpm app usedbpmsName- name of the embedded BPMS engine used by priint-bpmbpmsVersion- version of the embedded BPMS engine
public record PriintBpmVersionInfo(String priintBpmName, String priintBpmVersion, String bpmsName, String bpmsVersion)
extends Record
This record describes the priint-bpm version Pubserver works with.
It also lists the internal BPMS engine version used.
-
Constructor Summary
ConstructorsConstructorDescriptionPriintBpmVersionInfo(String priintBpmName, String priintBpmVersion, String bpmsName, String bpmsVersion) Creates an instance of aPriintBpmVersionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbpmsName()Returns the value of thebpmsNamerecord component.Returns the value of thebpmsVersionrecord 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 thepriintBpmNamerecord component.Returns the value of thepriintBpmVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PriintBpmVersionInfo
public PriintBpmVersionInfo(String priintBpmName, String priintBpmVersion, String bpmsName, String bpmsVersion) Creates an instance of aPriintBpmVersionInforecord class.- Parameters:
priintBpmName- the value for thepriintBpmNamerecord componentpriintBpmVersion- the value for thepriintBpmVersionrecord componentbpmsName- the value for thebpmsNamerecord componentbpmsVersion- the value for thebpmsVersionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
priintBpmName
Returns the value of thepriintBpmNamerecord component.- Returns:
- the value of the
priintBpmNamerecord component
-
priintBpmVersion
Returns the value of thepriintBpmVersionrecord component.- Returns:
- the value of the
priintBpmVersionrecord component
-
bpmsName
Returns the value of thebpmsNamerecord component.- Returns:
- the value of the
bpmsNamerecord component
-
bpmsVersion
Returns the value of thebpmsVersionrecord component.- Returns:
- the value of the
bpmsVersionrecord component
-