Class ExampleData
java.lang.Object
org.palladiosimulator.edp2.example.ExampleData
Contains all exemplary including an example model instance. This class also demonstrates the use
of EDP2 for storing measurements and creating descriptions. The implemented example follows the
EDP2 creation steps:
All Measurements are stored in a
Measurements directory. Additionally, all standard descriptions can be retrieved.
-
Field Summary
Modifier and TypeFieldDescriptionfinal org.palladiosimulator.metricspec.BaseMetricDescription
static final String
final org.palladiosimulator.metricspec.TextualBaseMetricDescription
static final String
static final String
static final String
static final String
final org.palladiosimulator.metricspec.Identifier
final org.palladiosimulator.metricspec.Identifier
final org.palladiosimulator.metricspec.Identifier
final org.palladiosimulator.metricspec.MetricSetDescription
-
Constructor Summary
ConstructorDescriptionExampleData
(EList<org.palladiosimulator.metricspec.Description> existingDescriptions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates the exemplary experiment meta data.Returns the exemplary experiment meta data.Reads and prints the example data from a repository.printStoredMeasurements
(Repository repo, String experimentGroupUuid) Reads and prints the exemplary data stored for the experiment group in the repository.void
Simulates running an experiment.
-
Field Details
-
AbsoluteFrequencyUUID
- See Also:
-
ArchitectureQualityEstimationUUID
- See Also:
-
ArchitectureQualityEstimationLowUUID
- See Also:
-
ArchitectureQualityEstimationMediumUUID
- See Also:
-
ArchitectureQualityEstimationHighUUID
- See Also:
-
absoluteFrequency
public final org.palladiosimulator.metricspec.BaseMetricDescription absoluteFrequency -
architectureQualityEstimation
public final org.palladiosimulator.metricspec.TextualBaseMetricDescription architectureQualityEstimation -
serviceCallARTMetric
public final org.palladiosimulator.metricspec.MetricSetDescription serviceCallARTMetric -
architectureQualityIdentifierLow
public final org.palladiosimulator.metricspec.Identifier architectureQualityIdentifierLow -
architectureQualityIdentifierMedium
public final org.palladiosimulator.metricspec.Identifier architectureQualityIdentifierMedium -
architectureQualityIdentifierHigh
public final org.palladiosimulator.metricspec.Identifier architectureQualityIdentifierHigh
-
-
Constructor Details
-
ExampleData
-
-
Method Details
-
createExampleExperimentMetadata
public void createExampleExperimentMetadata()Creates the exemplary experiment meta data. -
getExampleExperimentGroup
Returns the exemplary experiment meta data.- Returns:
- the meta data.
-
simulateExperimentRun
public void simulateExperimentRun()Simulates running an experiment. -
printStoredMeasurements
Reads and prints the exemplary data stored for the experiment group in the repository. Does only print the generated example data in the DAOs. All data must be created by the other example data code to ensure correct functionality.- Parameters:
repo
- The repository.experimentGroupUuid
- UUID of the experiment group which is queried.- Returns:
- Formatted data.
-
printStoredMeasurements
Reads and prints the example data from a repository.- Parameters:
repo
- The repository.- Returns:
- Formatted data or
null
if there is no data.
-