package architecturetests;

import static architecturetests.ArchUnitHelper.PACKAGE_PREFIX;

enum FlexinaleComponent {
    besucherportal             ("besucherportal",              PACKAGE_PREFIX + ".besucherportal"),
    besucherportal_api_contract("besucherportal_api_contract", PACKAGE_PREFIX + ".besucherportal.api_contract"),
    security                   ("security",                    PACKAGE_PREFIX + ".security"),
    security_api_contract      ("security_api_contract",       PACKAGE_PREFIX + ".security.api_contract"),
    backoffice                 ("backoffice",                  PACKAGE_PREFIX + ".backoffice"),
    backoffice_api_contract    ("backoffice_api_contract",     PACKAGE_PREFIX + ".backoffice.api_contract"),
    ticketing                  ("ticketing",                   PACKAGE_PREFIX + ".ticketing"),
    ticketing_api_contract     ("ticketing_api_contract",      PACKAGE_PREFIX + ".ticketing.api_contract"),
    common                     ("common",                      PACKAGE_PREFIX + ".common");

    final String name;
    final String pkg;

    FlexinaleComponent(final String name, String pkg) {
        this.name = name;
        this.pkg = pkg;
    }
}
