public class SystemModelRepository extends AbstractRepository
| Modifier and Type | Field and Description |
|---|---|
static Execution |
ROOT_EXECUTION |
static java.lang.String |
ROOT_NODE_LABEL |
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description |
|---|
SystemModelRepository(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
AllocationRepository |
getAllocationFactory() |
AllocationComponentOperationPairFactory |
getAllocationPairFactory() |
AssemblyRepository |
getAssemblyFactory() |
AssemblyComponentOperationPairFactory |
getAssemblyPairFactory() |
Configuration |
getCurrentConfiguration()
This method should deliver a
Configuration object containing the current configuration of this instance. |
ExecutionEnvironmentRepository |
getExecutionEnvironmentFactory() |
OperationRepository |
getOperationFactory()
Delivering the factory managing the available operations.
|
TypeRepository |
getTypeRepositoryFactory()
Delivering the factory managing the available component types.
|
void |
saveSystemToHTMLFile(java.lang.String outputFn)
Writes the contents of this system model to an HTML file.
|
getDefaultConfiguration, getRepositoryDescription, getRepositoryNamegetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static final Execution ROOT_EXECUTION
public static final java.lang.String ROOT_NODE_LABEL
public SystemModelRepository(Configuration configuration, IProjectContext projectContext)
configuration - The configuration to use for this repository.projectContext - The project context to use for this repository.public final AllocationRepository getAllocationFactory()
public final AssemblyRepository getAssemblyFactory()
public final ExecutionEnvironmentRepository getExecutionEnvironmentFactory()
public final OperationRepository getOperationFactory()
public final TypeRepository getTypeRepositoryFactory()
public AllocationComponentOperationPairFactory getAllocationPairFactory()
public AssemblyComponentOperationPairFactory getAssemblyPairFactory()
public void saveSystemToHTMLFile(java.lang.String outputFn)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
outputFn - file system location of the output file (as accepted by File.File(String)).java.io.FileNotFoundException - If the given file is somehow invalid.java.io.UnsupportedEncodingException - If the used default encoding is not supported.public Configuration getCurrentConfiguration()
AbstractAnalysisComponentConfiguration object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.getCurrentConfiguration in interface IAnalysisComponentgetCurrentConfiguration in class AbstractAnalysisComponentCopyright 2020 Kieker Project, http://kieker-monitoring.net