Class StoreExample

java.lang.Object
org.palladiosimulator.edp2.example.StoreExample

public class StoreExample extends Object
Contains an example how data can be stored with EDP2. Please note that repeated execution of this class can lead to errors. This behavior is due to brevity and clarity of the example and does demonstrate a general shortcoming.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    (Relative) name of the directory in which the data of the example will be stored.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initializes an instance of this class with the default directory as target.
    StoreExample(String directory)
    Initializes an instance of this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Main method to run the example.
    void
    run()
    Method body which executes all necessary steps to create and store an example.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_DIRECTORY

      public static final String DEFAULT_DIRECTORY
      (Relative) name of the directory in which the data of the example will be stored.
      See Also:
  • Constructor Details

    • StoreExample

      public StoreExample()
      Initializes an instance of this class with the default directory as target.
    • StoreExample

      public StoreExample(String directory)
      Initializes an instance of this class.
      Parameters:
      directory - Directory to be used to store measurements.
  • Method Details

    • run

      public void run()
      Method body which executes all necessary steps to create and store an example.
    • main

      public static void main(String[] args)
      Main method to run the example.
      Parameters:
      args - Not used.