Record Class ElementRuntimeStatus
java.lang.Object
java.lang.Record
dev.getelements.elements.sdk.model.system.ElementRuntimeStatus
- Record Components:
deployment- the deployment associated with this runtime statusstatus- the status of the runtimeelementPaths- a readout of element paths loaded with this runtimedeploymentFiles- a readout of temporary files associated with the deploymentlogs- a list of logs related to the deployment of the runtimewarnings- a list of warnings related to the deployment of the runtimeerrors- a list of errors related to the deployment of the runtimeelements- a list of Elements included in the runtimeelementManifests- a mapping of paths to manifests of loaded elements
public record ElementRuntimeStatus(ElementDeployment deployment, String status, List<String> elementPaths, List<String> deploymentFiles, List<String> logs, List<String> warnings, List<String> errors, List<ElementMetadata> elements, List<ElementMetadata> failedElements, Map<String,ElementManifestRecord> elementManifests)
extends Record
Reports the status of an element runtime, which is a deployed in-memory Element.
-
Constructor Summary
ConstructorsConstructorDescriptionElementRuntimeStatus(ElementDeployment deployment, String status, List<String> elementPaths, List<String> deploymentFiles, List<String> logs, List<String> warnings, List<String> errors, List<ElementMetadata> elements, List<ElementMetadata> failedElements, Map<String, ElementManifestRecord> elementManifests) Creates an instance of aElementRuntimeStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeploymentrecord component.Returns the value of thedeploymentFilesrecord component.Returns the value of theelementManifestsrecord component.Returns the value of theelementPathsrecord component.elements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.Returns the value of thefailedElementsrecord component.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.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
ElementRuntimeStatus
public ElementRuntimeStatus(ElementDeployment deployment, String status, List<String> elementPaths, List<String> deploymentFiles, List<String> logs, List<String> warnings, List<String> errors, List<ElementMetadata> elements, List<ElementMetadata> failedElements, Map<String, ElementManifestRecord> elementManifests) Creates an instance of aElementRuntimeStatusrecord class.- Parameters:
deployment- the value for thedeploymentrecord componentstatus- the value for thestatusrecord componentelementPaths- the value for theelementPathsrecord componentdeploymentFiles- the value for thedeploymentFilesrecord componentlogs- the value for thelogsrecord componentwarnings- the value for thewarningsrecord componenterrors- the value for theerrorsrecord componentelements- the value for theelementsrecord componentfailedElements- the value for thefailedElementsrecord componentelementManifests- the value for theelementManifestsrecord 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). -
deployment
Returns the value of thedeploymentrecord component.- Returns:
- the value of the
deploymentrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
elementPaths
Returns the value of theelementPathsrecord component.- Returns:
- the value of the
elementPathsrecord component
-
deploymentFiles
Returns the value of thedeploymentFilesrecord component.- Returns:
- the value of the
deploymentFilesrecord component
-
logs
Returns the value of thelogsrecord component.- Returns:
- the value of the
logsrecord component
-
warnings
Returns the value of thewarningsrecord component.- Returns:
- the value of the
warningsrecord component
-
errors
Returns the value of theerrorsrecord component.- Returns:
- the value of the
errorsrecord component
-
elements
Returns the value of theelementsrecord component.- Returns:
- the value of the
elementsrecord component
-
failedElements
Returns the value of thefailedElementsrecord component.- Returns:
- the value of the
failedElementsrecord component
-
elementManifests
Returns the value of theelementManifestsrecord component.- Returns:
- the value of the
elementManifestsrecord component
-