Class MarkovReportItem
- java.lang.Object
-
- org.palladiosimulator.solver.reliability.reporting.MarkovReportItem
-
public class MarkovReportItem extends Object
Generates abstract tables based on the data of a reliability analysis of a given scenario. The data encapsulated in this class can be used for later output.
-
-
Constructor Summary
Constructors Constructor Description MarkovReportItem(String scenarioName, String scenarioId, String successProbabilityAsString)
Generates a new Markov report item, initialized with a scenario name, the scenario's ID and the success probability of the scenario as String.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFailureModeTable(MarkovReportingTable failureModeTable)
Adds a table to the list of failure mode tables.void
addImpactAnalysisTable(MarkovReportingTable impactAnalysisTable)
Adds a table to the list of failure mode tables.List<MarkovReportingTable>
getFailureModeTables()
Returns all failure mode tables in the list.List<MarkovReportingTable>
getImpactAnalysisTables()
Returns all impact analysis tables in the list.String
getScenarioId()
Gets the scenario's ID.String
getScenarioName()
Gets the scenario's name.String
getSuccessProbabilityString()
Gets the scenario's success probability.void
setScenarioId(String scenarioId)
Sets the scenario's ID.void
setScenarioName(String scenarioName)
Sets the scenario's name.
-
-
-
Constructor Detail
-
MarkovReportItem
public MarkovReportItem(String scenarioName, String scenarioId, String successProbabilityAsString)
Generates a new Markov report item, initialized with a scenario name, the scenario's ID and the success probability of the scenario as String.- Parameters:
scenarioName
- the name of the scenarioscenarioId
- the ID of the scenariosuccessProbabilityAsString
- the success probability of the scenario as String
-
-
Method Detail
-
addFailureModeTable
public void addFailureModeTable(MarkovReportingTable failureModeTable)
Adds a table to the list of failure mode tables.- Parameters:
failureModeTable
- the table
-
addImpactAnalysisTable
public void addImpactAnalysisTable(MarkovReportingTable impactAnalysisTable)
Adds a table to the list of failure mode tables.- Parameters:
impactAnalysisTable
- the table
-
getFailureModeTables
public List<MarkovReportingTable> getFailureModeTables()
Returns all failure mode tables in the list.- Returns:
- all tables
-
getImpactAnalysisTables
public List<MarkovReportingTable> getImpactAnalysisTables()
Returns all impact analysis tables in the list.- Returns:
- all tables
-
getScenarioId
public String getScenarioId()
Gets the scenario's ID.- Returns:
- the scenario's ID
-
getScenarioName
public String getScenarioName()
Gets the scenario's name.- Returns:
- the scenario's name
-
getSuccessProbabilityString
public String getSuccessProbabilityString()
Gets the scenario's success probability.
-
setScenarioId
public void setScenarioId(String scenarioId)
Sets the scenario's ID.- Parameters:
scenarioId
- the scenario's ID
-
setScenarioName
public void setScenarioName(String scenarioName)
Sets the scenario's name.- Parameters:
scenarioName
- the scenario's name
-
-