Class SiteValidator

java.lang.Object
com.atlassian.jira.cloud.jenkins.util.SiteValidator

public final class SiteValidator extends Object
  • Constructor Details

    • SiteValidator

      public SiteValidator()
  • Method Details

    • isValid

      public static boolean isValid(String site)
      Validates Jira Cloud site name. A valid site name must be at least 3 characters, lowercase letters and numbers only.
      Parameters:
      site - Jira Cloud site name, e.g. sitename.atlassian.net
      Returns:
      true if site name is valid