This class contains reporting-specific interactions with the CloudBees CD server reporting APIs
Type | Name and description |
---|---|
java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> |
definitionsCache Cache for the retrieved definitions of the report types |
boolean |
previewMode If this is set to true, no reports will be sent to the CloudBees CD server |
java.util.ArrayList<java.lang.String> |
reportObjectTypes This list is used to be sure that given type is supported by the CloudBees CD server |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.Object>> |
getPayloadDefinition(java.lang.String reportingObjectType) Cached accessor for the report object types definitions defined on the CloudBees CD server |
|
java.util.ArrayList<java.lang.String> |
getReportObjectTypeRequiredKeys(java.lang.String reportingObjectType) Filters keys that are required to be in the payload (according to the report object definition) |
|
java.util.ArrayList<java.lang.String> |
getReportObjectTypes() Cached accessor for the report object types defined on the CloudBees CD server |
|
boolean |
isValidReportingObjectType(java.lang.String reportingObjectType) This method checks if given type is supported by the CloudBees CD Server |
|
java.util.Map<java.lang.String, java.lang.Integer> |
report(Payloadset payloadset) This method sends all the Payloads for a given Payloadset |
|
java.util.Map<java.lang.String, java.lang.Integer> |
reportRecursive(java.util.List<Payload> payloads, java.util.Map<java.lang.String, java.lang.Integer> reportStats) This method is responsible for sending the report of the payload and then send all it's dependent payloads |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Cache for the retrieved definitions of the report types
If this is set to true, no reports will be sent to the CloudBees CD server
This list is used to be sure that given type is supported by the CloudBees CD server
Cached accessor for the report object types definitions defined on the CloudBees CD server
reportingObjectType
- name of report object type to get the definition forFilters keys that are required to be in the payload (according to the report object definition)
reportingObjectType
- name of the reporting object type to get definition forCached accessor for the report object types defined on the CloudBees CD server
This method checks if given type is supported by the CloudBees CD Server
reportingObjectType
- name of report object type to checkThis method sends all the Payloads for a given Payloadset
payloadset
- Payloadset to be reportedThis method is responsible for sending the report of the payload and then send all it's dependent payloads
payloads
- list of the Payloads to be sent