Class YamlCloudScenarioReader

java.lang.Object
org.cloudsimplus.automation.YamlCloudScenarioReader

public class YamlCloudScenarioReader
extends Object
Reads Cloud Computing simulation scenarios from an YAML file and stores them into a List of YamlCloudScenario objects. These YamlCloudScenario are built using CloudSim Plus.

To create simulation scenarios from an YAML file, you have to use the class constructor that will try to read the given file. The scenarios read will be available in the scenarios attribute. Then, to build and run each simulation scenario in CloudSim Plus, instantiate a CloudSimulation passing a YamlCloudScenario to it.

Author:
Manoel Campos da Silva Filho
See Also:
YamlCloudScenario
  • Constructor Details

  • Method Details

    • getFile

      public File getFile()
      Gets the YAML File to read.
      Returns:
    • getScenarios

      public List<YamlCloudScenario> getScenarios()
      Gets the List of Cloud Simulation scenarios loaded from the YAML file.
      Returns: