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 status
status - the status of the runtime
elementPaths - a readout of element paths loaded with this runtime
deploymentFiles - a readout of temporary files associated with the deployment
logs - a list of logs related to the deployment of the runtime
warnings - a list of warnings related to the deployment of the runtime
errors - a list of errors related to the deployment of the runtime
elements - a list of Elements included in the runtime
elementManifests - 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 Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • deployment

      public ElementDeployment deployment()
      Returns the value of the deployment record component.
      Returns:
      the value of the deployment record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • elementPaths

      public List<String> elementPaths()
      Returns the value of the elementPaths record component.
      Returns:
      the value of the elementPaths record component
    • deploymentFiles

      public List<String> deploymentFiles()
      Returns the value of the deploymentFiles record component.
      Returns:
      the value of the deploymentFiles record component
    • logs

      public List<String> logs()
      Returns the value of the logs record component.
      Returns:
      the value of the logs record component
    • warnings

      public List<String> warnings()
      Returns the value of the warnings record component.
      Returns:
      the value of the warnings record component
    • errors

      public List<String> errors()
      Returns the value of the errors record component.
      Returns:
      the value of the errors record component
    • elements

      public List<ElementMetadata> elements()
      Returns the value of the elements record component.
      Returns:
      the value of the elements record component
    • failedElements

      public List<ElementMetadata> failedElements()
      Returns the value of the failedElements record component.
      Returns:
      the value of the failedElements record component
    • elementManifests

      public Map<String,ElementManifestRecord> elementManifests()
      Returns the value of the elementManifests record component.
      Returns:
      the value of the elementManifests record component