Class RuntimeModelServiceImpl
- java.lang.Object
-
- org.dashbuilder.backend.remote.services.RuntimeModelServiceImpl
-
- All Implemented Interfaces:
RuntimeModelService
@ApplicationScoped public class RuntimeModelServiceImpl extends Object implements RuntimeModelService
-
-
Constructor Summary
Constructors Constructor Description RuntimeModelServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<RuntimeModel>getRuntimeModel(String exportId)Get a runtime model given an ID.RuntimeServiceResponseinfo(String runtimeModelId)Loads information about this installation.
-
-
-
Method Detail
-
info
public RuntimeServiceResponse info(String runtimeModelId)
Description copied from interface:RuntimeModelServiceLoads information about this installation.- Specified by:
infoin interfaceRuntimeModelService- Parameters:
runtimeModelId- A runtime model id to be loaded. Can be null or an empty String.- Returns:
-
getRuntimeModel
public Optional<RuntimeModel> getRuntimeModel(String exportId)
Description copied from interface:RuntimeModelServiceGet a runtime model given an ID.- Specified by:
getRuntimeModelin interfaceRuntimeModelService- Parameters:
exportId- The Runtime model represented by runtimeModelId.- Returns:
- An optional containing the RuntimeModel or empty if the runtime model couldn't be found or built.
-
-