use of co.videofirst.vft.capture.model.info.ConfigInfo in project vft-capture by videofirst.
the class DefaultInfoService method initConfigInfo.
private ConfigInfo initConfigInfo() {
GraphicsConfiguration graphicsConfiguration = getGraphicsConfiguration();
Rectangle rect = graphicsConfiguration.getBounds();
ConfigInfo systemInfo = ConfigInfo.builder().started(LocalDateTime.now()).categories(vftConfig.getCategories()).storage(vftConfig.getStorage()).upload(vftConfig.getUpload()).display(DisplayInfo.builder().x(rect.x).y(rect.y).width(rect.width).height(rect.height).build()).environment(getEnvironmentFromJavaSystemProps()).build();
return systemInfo;
}
Aggregations