org.schmant.project.eclipse
Class EclipseProjectInfo

java.lang.Object
  extended by org.schmant.support.AbstractArgumentChecker
      extended by org.schmant.project.eclipse.EclipseProjectInfo

public class EclipseProjectInfo
extends AbstractArgumentChecker

This is information on an Eclipse project as parsed from a ProjectFileParser.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
EclipseProjectInfo()
           
 
Method Summary
 String getName()
          Get the project's name.
 Set<String> getProjectNatures()
          Get the project's set of project natures.
 void setName(String name)
          Set the name of the project.
 void setProjectNatures(Set<String> pn)
          Set this project's set of project natures.
 
Methods inherited from class org.schmant.support.AbstractArgumentChecker
check, check, check, check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseProjectInfo

public EclipseProjectInfo()
Method Detail

setName

public void setName(String name)
Set the name of the project. (The parser does this.)

Parameters:
name - The name of the project.

getName

public String getName()
Get the project's name.

Returns:
The project's name.

setProjectNatures

public void setProjectNatures(Set<String> pn)
Set this project's set of project natures. (The parser does this.)

Parameters:
pn - The set of project natures.

getProjectNatures

public Set<String> getProjectNatures()
Get the project's set of project natures. Project natures are Eclipse's way of classifying projects.

Returns:
The project's set of project natures.