Package org.marvelution.jji
Class SitesClient
java.lang.Object
org.marvelution.jji.SitesClient
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSitesClient
(JiraSitesConfiguration sitesConfiguration, okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetIssueLinks
(String jobHash, int buildNumber) getIssueLinks
(Predicate<JiraSite> siteFilter, String jobHash, int buildNumber) getSites()
void
notifyBuildCompleted
(Run<?, ?> run, TaskListener listener) void
notifyBuildCompleted
(Predicate<JiraSite> siteFilter, Run<?, ?> run, TaskListener listener) void
notifyBuildDeleted
(Run<?, ?> run) void
notifyBuildDeleted
(Predicate<JiraSite> siteFilter, Run<?, ?> run) void
notifyJobCreated
(Item item) void
notifyJobCreated
(Predicate<JiraSite> siteFilter, Item item) void
notifyJobDeleted
(Item item) void
notifyJobDeleted
(Predicate<JiraSite> siteFilter, Item item) void
notifyJobModified
(Item item, org.marvelution.jji.events.JobNotificationType notificationType) void
notifyJobModified
(Predicate<JiraSite> siteFilter, Item item, org.marvelution.jji.events.JobNotificationType notificationType) void
notifyJobMoved
(String oldJobHash, Item newItem) void
notifyJobMoved
(Predicate<JiraSite> siteFilter, String oldJobHash, Item newItem) void
void
-
Field Details
-
LINKS_TYPE
-
SYNC_RESULT_HEADER
- See Also:
-
-
Constructor Details
-
SitesClient
@Inject public SitesClient(JiraSitesConfiguration sitesConfiguration, okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getSites
-
syncBuild
-
syncJob
-
getIssueLinks
-
getIssueLinks
-
notifyBuildCompleted
-
notifyBuildCompleted
public void notifyBuildCompleted(Predicate<JiraSite> siteFilter, Run<?, ?> run, TaskListener listener) -
notifyJobCreated
-
notifyJobCreated
-
notifyJobModified
public void notifyJobModified(Item item, org.marvelution.jji.events.JobNotificationType notificationType) -
notifyJobModified
-
notifyJobMoved
-
notifyJobMoved
-
notifyJobDeleted
-
notifyJobDeleted
-
notifyBuildDeleted
-
notifyBuildDeleted
-