com.seventytwomiles.architecturerules.domain
Class SourceDirectory

java.lang.Object
  extended by com.seventytwomiles.architecturerules.domain.SourceDirectory

public class SourceDirectory
extends java.lang.Object

Representation of a source directory to search for packages and .class files in.

Author:
mikenereson

Constructor Summary
SourceDirectory()
          
SourceDirectory(java.lang.String path)
          
SourceDirectory(java.lang.String path, boolean shouldThrowExceptionWhenNotFound)
          
SourceDirectory(java.lang.String path, java.lang.String notFound)
          
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getPath()
          Getter for property path.
 int hashCode()
           
 void setNotFound(java.lang.String notFound)
          Setter for property 'notFound'.
 void setPath(java.lang.String path)
          Setter for property path.
 void setShouldThrowExceptionWhenNotFound(boolean shouldThrowExceptionWhenNotFound)
          Setter for property shouldThrowExceptionWhenNotFound.
 boolean shouldThrowExceptionWhenNotFound()
          Getter for property shouldThrowExceptionWhenNotFound.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceDirectory

public SourceDirectory()


SourceDirectory

public SourceDirectory(java.lang.String path)

Parameters:
path - String path

SourceDirectory

public SourceDirectory(java.lang.String path,
                       boolean shouldThrowExceptionWhenNotFound)

Parameters:
path - String path
shouldThrowExceptionWhenNotFound - boolean shouldThrowExceptionWhenNotFound

SourceDirectory

public SourceDirectory(java.lang.String path,
                       java.lang.String notFound)

Parameters:
path - String path
notFound - boolean @notFound
Method Detail

shouldThrowExceptionWhenNotFound

public boolean shouldThrowExceptionWhenNotFound()
Getter for property shouldThrowExceptionWhenNotFound.

Returns:
Value for property shouldThrowExceptionWhenNotFound.

setShouldThrowExceptionWhenNotFound

public void setShouldThrowExceptionWhenNotFound(boolean shouldThrowExceptionWhenNotFound)
Setter for property shouldThrowExceptionWhenNotFound.

Parameters:
shouldThrowExceptionWhenNotFound - Value to set for property shouldThrowExceptionWhenNotFound.

getPath

public java.lang.String getPath()

Getter for property path.

Returns:
Value for property path.

setPath

public void setPath(java.lang.String path)

Setter for property path.

Parameters:
path - Value to set for property path.

setNotFound

public void setNotFound(java.lang.String notFound)
Setter for property 'notFound'.

Parameters:
notFound - Value to set for property 'notFound'.

toString

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

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

hashCode

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


Copyright © 2007. All Rights Reserved.