APISonar


org.onosproject.net.intent.IntentEvent.time

> org > onosproject > net > intent > IntentEvent > time
org APIs onosproject APIs net APIs intent APIs IntentEvent APIs time APIs

Example 1
private ObjectNode json(ObjectMapper mapper, IntentEvent intentEvent) {
        ObjectNode result = mapper.createObjectNode();

        result.put("time", intentEvent.time())
            .put("type", intentEvent.type().toString())
            .put("event", intentEvent.toString());
        return result;
    }