public RegulationFiles convert()

in src/main/java/com/epam/digital/data/platform/registry/regulation/validation/cli/support/CommandLineOptionsConverter.java [30:54]


  public RegulationFiles convert(Options options) {
    return RegulationFiles.builder()
        .globalVarsFiles(getFilesIfAny(CommandLineArg.GLOBAL_VARS, options))
        .bpAuthFiles(getFilesIfAny(CommandLineArg.BP_AUTH, options))
        .bpTrembitaFiles(getFilesIfAny(CommandLineArg.BP_TREMBITA, options))
        .bpTrembitaConfig(getFilesIfAny(CommandLineArg.BP_TREMBITA_CONFIG, options))
        .rolesFiles(getFilesIfAny(CommandLineArg.ROLES, options))
        .bpmnFiles(getFilesIfAny(CommandLineArg.BPMN, options))
        .dmnFiles(getFilesIfAny(CommandLineArg.DMN, options))
        .formFiles(getFilesIfAny(CommandLineArg.FORMS, options))
        .datafactorySettingsFiles(getFilesIfAny(CommandLineArg.DATAFACTORY_SETTINGS, options))
        .registrySettingsFiles(getFilesIfAny(CommandLineArg.REGISTRY_SETTINGS, options))
        .liquibaseFiles(getFilesIfAny(CommandLineArg.LIQUIBASE, options))
        .excerptFiles(getFilesIfAny(CommandLineArg.EXCERPTS, options))
        .emailNotificationTemplateDirectory(getFilesIfAny(CommandLineArg.EMAIL_NOTIFICATION_TEMPLATE, options))
        .inboxNotificationTemplateDirectory(getFilesIfAny(CommandLineArg.INBOX_NOTIFICATION_TEMPLATE, options))
        .diiaNotificationTemplateDirectory(getFilesIfAny(CommandLineArg.DIIA_NOTIFICATION_TEMPLATE, options))
        .bpGroupingFiles(getFilesIfAny(CommandLineArg.BP_GROUPING, options))
        .mockIntegrationFiles(getFilesIfAny(CommandLineArg.MOCK_INTEGRATIONS, options))
        .reportsFolders(getFilesIfAny(CommandLineArg.REPORTS_FOLDERS, options))
        .files(getFilesIfAny(CommandLineArg.FILES, options))
        .filesDetailed(getFilesIfAny(CommandLineArg.FILES_DETAILED, options))
        .reportsFiles(getFilesIfAny(CommandLineArg.REPORTS, options))
        .build();
  }