Interface ElementRuntimeStatusMapper

All Superinterfaces:
dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper<dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord,dev.getelements.elements.sdk.model.system.ElementRuntimeStatus>
All Known Implementing Classes:
ElementRuntimeStatusMapperImpl

public interface ElementRuntimeStatusMapper extends dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper<dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord,dev.getelements.elements.sdk.model.system.ElementRuntimeStatus>
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Converts the exception to a string by printing its stacktrace to the string.
    dev.getelements.elements.sdk.model.system.ElementRuntimeStatus
    forward(dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord source)
     
    static String
    Strips off the temporary path prefix and returns the path relative to the global temporary path root.

    Methods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper

    findDestinationType, findSourceType
  • Method Details

    • forward

      dev.getelements.elements.sdk.model.system.ElementRuntimeStatus forward(dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord source)
      Specified by:
      forward in interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper<dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord,dev.getelements.elements.sdk.model.system.ElementRuntimeStatus>
    • pathToString

      static String pathToString(Path path)
      Strips off the temporary path prefix and returns the path relative to the global temporary path root.
      Parameters:
      path - the path
      Returns:
      the path as a string
    • exceptionToString

      static String exceptionToString(Throwable throwable)
      Converts the exception to a string by printing its stacktrace to the string.
      Parameters:
      throwable - the throwable
      Returns:
      a string from the throwable