Class MetricProfileService
java.lang.Object
org.tasktide.core.services.AbstractTaskTideService<MetricProfile>
org.tasktide.core.services.MetricProfileService
- All Implemented Interfaces:
TaskTideMapper<MetricProfile, JobEnvironment>, TaskTideService<MetricProfile>
public class MetricProfileService
extends AbstractTaskTideService<MetricProfile>
implements TaskTideMapper<MetricProfile, JobEnvironment>
Service to provide
A
Service methods include providing MetricProfile, list of them. Getting list of JobEnvironments be useful, means composing repo though.
Implementing the
MetricProfile interactions to backend DB (TaskTideRepository).
A
MetricProfile has a single JobEnvironment associated with it.
Service methods include providing MetricProfile, list of them. Getting list of JobEnvironments be useful, means composing repo though.
Implementing the
TaskTideMapper allows mapping of MetricProfile to JobEnvironment-
Field Summary
Fields inherited from class AbstractTaskTideService
repo, resultSetSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetThroughLink(TaskTideService<JobEnvironment> mappingServ, MetricProfile model) GetJobEnvironmentcollection through providedTaskTideServicelinkMethods inherited from class AbstractTaskTideService
appendModel, dropById, extendModel, fetchById, getRepo, getResultSetSize, isConfigured, save, setResultSetSize, updateModel, viewAll, viewAllToTaskTideModel, viewByField, viewByFieldForGroup
-
Constructor Details
-
MetricProfileService
Constucted withTaskTideRepository- Parameters:
repo-
-
-
Method Details
-
getThroughLink
public List<JobEnvironment> getThroughLink(TaskTideService<JobEnvironment> mappingServ, MetricProfile model) GetJobEnvironmentcollection through providedTaskTideServicelink- Specified by:
getThroughLinkin interfaceTaskTideMapper<MetricProfile, JobEnvironment>- Parameters:
mappingServ-model-- Returns:
- List-
JobEnvironment
-