Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void transformCreateBranch(Pair<String, JsonNode> eventData) {
- // Задание отображение JSON -> Модель event
- Event event = new Event();
- event.timestamp = eventData.getValue.
- findPath("commit").findPath("commited_data").textValue();
- event.resource = eventData.getValue.
- findPath("commit").findPath("author_email").textValue();
- event.type = eventData.getKey;
- event.other = eventData.getValue.findPath("name").textValue();
- transformedEvents.put(event);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement