All Superinterfaces:
AuditProjection, IdProjection, UniqueIdProjection
All Known Subinterfaces:
FinishedJobProjection, JobCommonFieldsProjection, JobProjection
All Known Implementing Classes:
ApplicationEntity, BaseEntity, ClusterEntity, CommandEntity, JobEntity

public interface BaseProjection extends UniqueIdProjection
Projection for the common fields.
Since:
3.3.0
  • Method Details

    • getVersion

      String getVersion()
      Get the version.
      Returns:
      The version of the resource (job, app, etc)
    • getUser

      String getUser()
      Get the user who created the resource.
      Returns:
      The user who created the resource
    • getName

      String getName()
      Get the name of the resource.
      Returns:
      The name of the resource
    • getStatus

      String getStatus()
      Get the status of this resource as a String.
      Returns:
      The status
    • getDescription

      Optional<String> getDescription()
      Get the description of this resource.
      Returns:
      The description which could be null so it's wrapped in Optional
    • getMetadata

      Optional<com.fasterxml.jackson.databind.JsonNode> getMetadata()
      Get the metadata of this entity which is unstructured JSON.
      Returns:
      Optional of the metadata json node