GithubHelp home page GithubHelp logo

silverbulleters / bsl-platform-context Goto Github PK

View Code? Open in Web Editor NEW
11.0 10.0 1.0 2.13 MB

Контекст платформы 1С:Предприятие 8

License: GNU Lesser General Public License v3.0

Kotlin 5.50% Java 94.50%
bsl 1c-enterprise hacktoberfest

bsl-platform-context's Introduction

Контекст платформы 1С:Предприятие

Предоставление контекста платформы 1С:Предприятие в виде Java библиотеки.

Возможности

Доступны данные:

  • Типы платформы
  • События платформы

Поддерживаемые версии платформы: 8.2.19 - 8.3.20

Примеры

Инициализация

List<PlatformEdition> editions = List.of(PlatformEdition.VERSION_8_2_19);
BSLPlatformContext platformContext = new BSLPlatformContext(editions);

Получение набора событий

// ...
Set<Event> events = platformContext.getEventsByPlatform(PlatformEdition.VERSION_8_2_19);
events.forEach(event -> {
  // имя события на русском
  System.out.println(event.getName().getNameRu());

  event.getTypes().forEach(platformTypeReference -> {
      // идентификаторы возможных типов события
      System.out.println(platformTypeReference.getValue());
  });
});

Как вести разработку

Для разработки используются следующие таргеты:

  • JDK 11
  • IntelliJ IDEA 2021.1.1

Лицензия

Используется лицензия GPL-3.0 License

bsl-platform-context's People

Contributors

eightm avatar en-builin avatar otymko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bddsm

bsl-platform-context's Issues

CI

  • Сборка
  • Проверка
  • Анализ в SonarSource

Минимизация размера JSON

На текущий момент в ресурсах data содержится около 15МБ данных. Эти данные можно сжать с помощью GZip и научить ReadDataCollector читатать поток текста из архива.

Механизм патчей контекста

В справке есть ошибки. Их можно исправить в данных, но нужно уметь эти данные сохранить при перезагрузке контекста. Пример ошибки:
image
На самом деле это свойство read and write.

Javadoc

  • Сайт-заглушка на mkdocs
  • Публикация Javadoc на GitHub Pages

Методы типов платформы

Дано

Нужно

  • Загрузить методы для типов платформы

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.