Skip to content

akaene/control-structure-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Control Structure Parser

Library for reading system control structure for system-theoretic process analysis (STPA).

Currently supported artifacts:

Tested on XMI artifacts produced by Modelio and Enterprise Architect.

Requirements

  • Java 21

How to Get

Use the following dependency:

<dependency>
    <groupId>com.akaene.stpa</groupId>
    <artifactId>control-structure-parser</artifactId>
</dependency>

Do not forget to add the AKAENE Maven repository:

<repositories>
    <repository>
        <id>akaene</id>
        <name>AKAENE Maven repository</name>
        <url>https://dev.akaene.com/m2repo</url>
    </repository>
</repositories>

How to Use

ControlStructureParsers is able to find the correct parser and use it to parse the specified model file.

import com.akaene.stpa.scs.parser.ControlStructureParsers;

final File input = // get input file
final Model model = ControlStructureParsers.parse(input);

But it is also possible to use the parser implementations directly.

License

MIT

About

Reads system control structure for STPA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published