Class JiraSite

java.lang.Object
hudson.model.AbstractDescribableImpl<JiraSite>
org.marvelution.jji.configuration.JiraSite
All Implemented Interfaces:
Describable<JiraSite>, Serializable

public class JiraSite extends AbstractDescribableImpl<JiraSite> implements Serializable
See Also:
  • Field Details

    • JSON

      public static final okhttp3.MediaType JSON
  • Constructor Details

    • JiraSite

      @DataBoundConstructor public JiraSite(URI uri)
  • Method Details

    • getUri

      public URI getUri()
    • getIdentifier

      public String getIdentifier()
    • setIdentifier

      @DataBoundSetter public void setIdentifier(String identifier)
    • withIdentifier

      public JiraSite withIdentifier(String identifier)
    • getSharedSecret

      public String getSharedSecret()
    • setSharedSecret

      @DataBoundSetter public void setSharedSecret(String sharedSecret)
    • withSharedSecret

      public JiraSite withSharedSecret(String sharedSecret)
    • getSharedSecretId

      public String getSharedSecretId()
    • setSharedSecretId

      @DataBoundSetter public JiraSite setSharedSecretId(String sharedSecretId)
    • getName

      public String getName()
    • setName

      @DataBoundSetter public void setName(String name)
    • withName

      public JiraSite withName(String name)
    • isPostJson

      public boolean isPostJson()
    • setPostJson

      @DataBoundSetter public void setPostJson(boolean postJson)
    • withPostJson

      public JiraSite withPostJson(boolean postJson)
    • isTunneled

      public boolean isTunneled()
    • setTunneled

      @DataBoundSetter public void setTunneled(boolean tunneled)
    • withTunneled

      public JiraSite withTunneled(boolean tunneled)
    • createGetBaseUrlRequest

      public okhttp3.Request createGetBaseUrlRequest()
    • createGetIssueLinksRequest

      public okhttp3.Request createGetIssueLinksRequest(String jobHash, int buildNumber)
    • createRegisterRequest

      public okhttp3.Request createRegisterRequest()
    • createNotifyJobCreatedRequest

      public okhttp3.Request createNotifyJobCreatedRequest(Item item)
    • createNotifyJobRequest

      public okhttp3.Request createNotifyJobRequest(Item item, org.marvelution.jji.events.JobNotificationType notificationType)
    • createNotifyJobMovedRequest

      public okhttp3.Request createNotifyJobMovedRequest(String oldJobHash, Item newItem)
    • createNotifyBuildCompleted

      public okhttp3.Request createNotifyBuildCompleted(Run run)
    • createNotifyJobDeletedRequest

      public okhttp3.Request createNotifyJobDeletedRequest(Item item)
    • createNotifyBuildDeletedRequest

      public okhttp3.Request createNotifyBuildDeletedRequest(Run run)
    • createGetTunnelDetailsRequest

      public okhttp3.Request createGetTunnelDetailsRequest()
    • signRequest

      public okhttp3.Request signRequest(okhttp3.Request request)
    • getSharedSecretCredentials

      public Optional<org.jenkinsci.plugins.plaincredentials.StringCredentials> getSharedSecretCredentials()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object