Class LoadExample
- java.lang.Object
-
- org.palladiosimulator.edp2.example.LoadExample
-
public class LoadExample extends Object
Contains an example how data can be loaded with EDP2.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DIRECTORY
(Relative) name of the directory in which the data of the example will be stored.
-
Constructor Summary
Constructors Constructor Description LoadExample()
Initializes an instance of the class with the default directory.LoadExample(String directory)
Initializes an instance of this class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.
-
-
-
Field Detail
-
DEFAULT_DIRECTORY
public static String DEFAULT_DIRECTORY
(Relative) name of the directory in which the data of the example will be stored.
-
-
Constructor Detail
-
LoadExample
public LoadExample()
Initializes an instance of the class with the default directory.
-
LoadExample
public LoadExample(String directory)
Initializes an instance of this class.- Parameters:
directory
- Directory to be used to store measurements.
-
-
Method Detail
-
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.
-
-