com.atlassian.fisheye.spi.admin.data
Class CaseAwarePathGlob

java.lang.Object
  extended by com.atlassian.fisheye.spi.admin.data.CaseAwarePathGlob

public class CaseAwarePathGlob
extends java.lang.Object

A case aware path glob based on the ant glob syntax.

See Also:
FishEye Antglob Reference Guide

Constructor Summary
CaseAwarePathGlob(CaseAwarePathGlob other)
           
CaseAwarePathGlob(java.lang.String glob)
          Create a case insensitive path glob.
CaseAwarePathGlob(java.lang.String glob, boolean caseSensitive)
          Create a path glob with the specified case sensitivity.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getGlob()
           
 int hashCode()
           
 boolean isCaseSensitive()
           
 void setCaseSensitive(boolean caseSensitive)
           
 void setGlob(java.lang.String glob)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseAwarePathGlob

public CaseAwarePathGlob(java.lang.String glob)
Create a case insensitive path glob.

Throws:
java.lang.NullPointerException - if glob is null

CaseAwarePathGlob

public CaseAwarePathGlob(java.lang.String glob,
                         boolean caseSensitive)
Create a path glob with the specified case sensitivity.

Throws:
java.lang.NullPointerException - if glob is null

CaseAwarePathGlob

public CaseAwarePathGlob(CaseAwarePathGlob other)
Method Detail

getGlob

public java.lang.String getGlob()

setGlob

public void setGlob(java.lang.String glob)
Throws:
java.lang.NullPointerException - if glob is null

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

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