Record Class ApplicationRepositoryStatus
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationRepositoryStatus
- Record Components:
root- repository rootartifactCount- stored artifact countpromotionCount- promotion entries countmetadata- safe repository metadata
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationRepositoryStatus(Path root, int artifactCount, int promotionCount, Map<String, String> metadata) Creates immutable repository status. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theartifactCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.intReturns the value of thepromotionCountrecord component.root()Returns the value of therootrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplicationRepositoryStatus
-
-
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. -
root
-
artifactCount
public int artifactCount()Returns the value of theartifactCountrecord component.- Returns:
- the value of the
artifactCountrecord component
-
promotionCount
public int promotionCount()Returns the value of thepromotionCountrecord component.- Returns:
- the value of the
promotionCountrecord component
-
metadata
-