Class PatternEntry

java.lang.Object
kieker.monitoring.core.signaturePattern.PatternEntry
All Implemented Interfaces:
java.io.Serializable

public class PatternEntry
extends java.lang.Object
implements java.io.Serializable
the activated state is ignored for purposes of equals() and hashcode().
Since:
1.6
Author:
Bjoern Weissenfels, Jan Waller
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    PatternEntry​(java.lang.String strPattern, boolean activated)
    Creates a new pattern entry using the given parameters.
    PatternEntry​(java.lang.String strPattern, java.util.regex.Pattern pattern, boolean activated)
    Creates a new pattern entry using the given parameters.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.util.regex.Pattern getPattern()  
    java.lang.String getStrPattern()  
    int hashCode()  
    boolean isActivated()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PatternEntry

      public PatternEntry​(java.lang.String strPattern, boolean activated) throws InvalidPatternException
      Creates a new pattern entry using the given parameters.
      Parameters:
      strPattern - The pattern string.
      activated - Determines the activated state.
      Throws:
      InvalidPatternException - If the given pattern is invalid.
    • PatternEntry

      public PatternEntry​(java.lang.String strPattern, java.util.regex.Pattern pattern, boolean activated)
      Creates a new pattern entry using the given parameters.
      Parameters:
      strPattern - The pattern string.
      activated - Determines the activated state.
      pattern - The pattern.
  • Method Details

    • hashCode

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

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getStrPattern

      public java.lang.String getStrPattern()
    • getPattern

      public java.util.regex.Pattern getPattern()
    • isActivated

      public boolean isActivated()