Package | Description |
---|---|
metricapp.entity.metric | |
metricapp.service.controller |
Controller package contains logic and business controllers
|
metricapp.service.spec.repository | |
metricapp.utility.stateTransitionUtils.metricTransition |
This package manages the state transition command for Metric entity.
|
Modifier and Type | Method and Description |
---|---|
static Metric |
Metric.randomMetric() |
Modifier and Type | Method and Description |
---|---|
private void |
MetricCRUDController.stateTransition(Metric oldMetric,
Metric newMetric) |
Modifier and Type | Method and Description |
---|---|
Metric |
MetricRepository.findMetricById(java.lang.String id) |
Metric |
MetricRepository.findMetricByIdAndVersion(java.lang.String id,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Metric> |
MetricRepository.findByState(State state) |
java.util.ArrayList<Metric> |
MetricRepository.findByStateAndMetricatorId(State state,
java.lang.String id) |
java.util.ArrayList<Metric> |
MetricRepository.findMetricByMetricatorId(java.lang.String id) |
Modifier and Type | Field and Description |
---|---|
protected Metric |
MetricStateTransitionCommand.after |
protected Metric |
MetricStateTransitionCommand.before |