public class FUStatisticsWhiteListGroupsService
extends java.lang.Object
FUStatisticsWhiteListGroupsService
) connects to online JB service and requests "approved" UsagesCollectors(groups).
{
"groups" : [
{
"id" : "productivity",
"builds" : [{ "from" : "173.4127.37", "to": "182.124" }, { "from" : "183.12" }],
"versions" : [{ "from" : "2", "to": "4" }, { "from" : "7" }]
},
{
"id" : "spring-example"
}
]
}
Modifier and Type | Class and Description |
---|---|
static class |
FUStatisticsWhiteListGroupsService.WLGroup |
static class |
FUStatisticsWhiteListGroupsService.WLGroups |
static class |
FUStatisticsWhiteListGroupsService.WLRule |
static class |
FUStatisticsWhiteListGroupsService.WLVersion |
Constructor and Description |
---|
FUStatisticsWhiteListGroupsService() |
Modifier and Type | Method and Description |
---|---|
static FUSWhitelist |
getApprovedGroups(java.lang.String userAgent,
java.lang.String serviceUrl) |
static long |
lastModifiedWhitelist(EventLogUploadSettingsService settingsService) |
static java.lang.String |
loadWhiteListFromServer(EventLogUploadSettingsService settingsService) |
static FUSWhitelist |
parseApprovedGroups(java.lang.String content) |
static FUStatisticsWhiteListGroupsService.WLGroups |
parseWhiteListContent(java.lang.String content) |
public static FUSWhitelist getApprovedGroups(java.lang.String userAgent, java.lang.String serviceUrl)
public static java.lang.String loadWhiteListFromServer(EventLogUploadSettingsService settingsService) throws EventLogWhitelistLoadException
EventLogWhitelistLoadException
public static long lastModifiedWhitelist(EventLogUploadSettingsService settingsService)
public static FUStatisticsWhiteListGroupsService.WLGroups parseWhiteListContent(java.lang.String content) throws EventLogWhitelistParseException
EventLogWhitelistParseException
public static FUSWhitelist parseApprovedGroups(java.lang.String content) throws EventLogWhitelistParseException
EventLogWhitelistParseException