Class SitesClient

java.lang.Object
org.marvelution.jji.SitesClient

public class SitesClient extends Object
  • Field Details

    • SYNC_RESULT_HEADER

      public static final String 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

      public Set<JiraSite> getSites()
    • syncBuild

      public void syncBuild(Predicate<JiraSite> siteFilter, Run<?,?> run)
    • syncJob

      public void syncJob(Predicate<JiraSite> siteFilter, Item item)
    • getIssueLinks

      public Map<String,String> getIssueLinks(String jobHash, int buildNumber)
    • getIssueLinks

      public Map<String,String> getIssueLinks(Predicate<JiraSite> siteFilter, String jobHash, int buildNumber)
    • notifyBuildCompleted

      public void notifyBuildCompleted(Run<?,?> run, TaskListener listener)
    • notifyBuildCompleted

      public void notifyBuildCompleted(Predicate<JiraSite> siteFilter, Run<?,?> run, TaskListener listener)
    • notifyJobCreated

      public void notifyJobCreated(Item item)
    • notifyJobCreated

      public void notifyJobCreated(Predicate<JiraSite> siteFilter, Item item)
    • notifyJobModified

      public void notifyJobModified(Item item, org.marvelution.jji.events.JobNotificationType notificationType)
    • notifyJobModified

      public void notifyJobModified(Predicate<JiraSite> siteFilter, Item item, org.marvelution.jji.events.JobNotificationType notificationType)
    • notifyJobMoved

      public void notifyJobMoved(String oldJobHash, Item newItem)
    • notifyJobMoved

      public void notifyJobMoved(Predicate<JiraSite> siteFilter, String oldJobHash, Item newItem)
    • notifyJobDeleted

      public void notifyJobDeleted(Item item)
    • notifyJobDeleted

      public void notifyJobDeleted(Predicate<JiraSite> siteFilter, Item item)
    • notifyBuildDeleted

      public void notifyBuildDeleted(Run<?,?> run)
    • notifyBuildDeleted

      public void notifyBuildDeleted(Predicate<JiraSite> siteFilter, Run<?,?> run)