Record Class ApplicationStatus
java.lang.Object
java.lang.Record
dev.getelements.elements.sdk.model.application.ApplicationStatus
- Record Components:
status- the statusuris- the uris servinglogs- the logs of the deploymentelements- the elements associated with the deployment
public record ApplicationStatus(Application application, String status, Set<URI> uris, List<String> logs, List<ElementMetadata> elements)
extends Record
Indicates the status of an application deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationStatus(Application application, String status, Set<URI> uris, List<String> logs, List<ElementMetadata> elements) Creates an instance of aApplicationStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationrecord component.elements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logs()Returns the value of thelogsrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.uris()Returns the value of theurisrecord component.
-
Constructor Details
-
ApplicationStatus
public ApplicationStatus(Application application, String status, Set<URI> uris, List<String> logs, List<ElementMetadata> elements) Creates an instance of aApplicationStatusrecord class.
-
-
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). -
application
Returns the value of theapplicationrecord component.- Returns:
- the value of the
applicationrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
uris
Returns the value of theurisrecord component.- Returns:
- the value of the
urisrecord component
-
logs
Returns the value of thelogsrecord component.- Returns:
- the value of the
logsrecord component
-
elements
Returns the value of theelementsrecord component.- Returns:
- the value of the
elementsrecord component
-