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 TypeMethodDescriptionstatic StringexceptionToString(Throwable throwable) Converts the exception to a string by printing its stacktrace to the string.dev.getelements.elements.sdk.model.system.ElementRuntimeStatusforward(dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord source) static StringpathToString(Path path) 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:
forwardin interfacedev.getelements.elements.sdk.model.util.MapperRegistry.Mapper<dev.getelements.elements.sdk.deployment.ElementRuntimeService.RuntimeRecord,dev.getelements.elements.sdk.model.system.ElementRuntimeStatus>
-
pathToString
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
Converts the exception to a string by printing its stacktrace to the string.- Parameters:
throwable- the throwable- Returns:
- a string from the throwable
-