Class ExemptResource

java.lang.Object
com.atlassian.jira.frontend.resources.ExemptResource
All Implemented Interfaces:
Comparable<ExemptResource>

public class ExemptResource extends Object implements Comparable<ExemptResource>
Represents a front-end resource that has been excused and exempted from being counted as an unnecessary resource. Used in front-end instrumentation tests in conjunction with the exception lists in the jira-webdriver-tests resources directory.
  • Constructor Details

    • ExemptResource

      public ExemptResource(String line)
  • Method Details

    • getResourceName

      public String getResourceName()
      Returns resource name, which is full resource key
      Returns:
      resource name, which is full resource key
    • isVariable

      public boolean isVariable()
      Returns if this exception depends on instance configuration.
      Returns:
      true if this exception depends on instance configuration.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(ExemptResource o)
      Specified by:
      compareTo in interface Comparable<ExemptResource>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object