summaryrefslogtreecommitdiffstats
path: root/reporting/yardstick/scenarioResult.py
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/yardstick/scenarioResult.py')
-rw-r--r--reporting/yardstick/scenarioResult.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/reporting/yardstick/scenarioResult.py b/reporting/yardstick/scenarioResult.py
new file mode 100644
index 0000000..743346a
--- /dev/null
+++ b/reporting/yardstick/scenarioResult.py
@@ -0,0 +1,20 @@
+#!/usr/bin/python
+#
+# This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+
+
+class ScenarioResult(object):
+ def __init__(self, status, score=0):
+ self.status = status
+ self.score = score
+
+ def getStatus(self):
+ return self.status
+
+ def getScore(self):
+ return self.score