org.apache.maven.plugin.eclipse

Class EclipseSourceDir

public class EclipseSourceDir extends Object implements Comparable

Represent an eclipse source dir. Eclipse has no "main", "test" or "resource" concepts, so two source dirs with the same path are equal.

Version: $Id: EclipseSourceDir.java 359477 2005-12-28 10:51:19Z fgiust $

Author: Fabrizio Giustina

Constructor Summary
EclipseSourceDir(String path, String output, boolean test, String include, String exclude)
Method Summary
intcompareTo(Object obj)
booleanequals(Object obj)
StringgetExclude()
Getter for exclude.
StringgetInclude()
Getter for include.
StringgetOutput()
Getter for output.
StringgetPath()
Getter for path.
inthashCode()
booleanisTest()
Getter for test.
voidsetExclude(String exclude)
Setter for exclude.
voidsetInclude(String include)
Setter for include.
voidsetOutput(String output)
Setter for output.
voidsetPath(String path)
Setter for path.
voidsetTest(boolean test)
Setter for test.

Constructor Detail

EclipseSourceDir

public EclipseSourceDir(String path, String output, boolean test, String include, String exclude)

Method Detail

compareTo

public int compareTo(Object obj)

See Also: java.lang.Comparable#compareTo(java.lang.Object)

equals

public boolean equals(Object obj)

See Also: java.lang.Object#equals(java.lang.Object)

getExclude

public String getExclude()
Getter for exclude.

Returns: Returns the exclude.

getInclude

public String getInclude()
Getter for include.

Returns: Returns the include.

getOutput

public String getOutput()
Getter for output.

Returns: Returns the output.

getPath

public String getPath()
Getter for path.

Returns: Returns the path.

hashCode

public int hashCode()

See Also: java.lang.Object#hashCode()

isTest

public boolean isTest()
Getter for test.

Returns: Returns the test.

setExclude

public void setExclude(String exclude)
Setter for exclude.

Parameters: exclude The exclude to set.

setInclude

public void setInclude(String include)
Setter for include.

Parameters: include The include to set.

setOutput

public void setOutput(String output)
Setter for output.

Parameters: output The output to set.

setPath

public void setPath(String path)
Setter for path.

Parameters: path The path to set.

setTest

public void setTest(boolean test)
Setter for test.

Parameters: test The test to set.

Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.