pt.ist.fenixframework.core
Class Project

Package class diagram package Project
java.lang.Object
  extended by pt.ist.fenixframework.core.Project

public class Project
extends Object


Field Summary
protected static String SEPARATOR_CHAR
           
 
Constructor Summary
Project(String name, List<DmlFile> dmls, List<Project> dependencies, boolean shouldCompile)
           
 
Method Summary
 boolean equals(Object obj)
           
static Project fromName(String projectName)
           
static Project fromProperties(Properties properties)
           
 void generateProjectProperties(String outputDirectory)
           
 List<Project> getDependencyProjects()
           
 List<DmlFile> getDmls()
           
 List<DmlFile> getFullDmlSortedList()
           
 String getName()
           
 List<Project> getProjects()
           
 int hashCode()
           
 boolean shouldCompile()
           
 String toString()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR_CHAR

protected static final String SEPARATOR_CHAR
See Also:
Constant Field Values
Constructor Detail

Project

public Project(String name,
               List<DmlFile> dmls,
               List<Project> dependencies,
               boolean shouldCompile)
        throws ProjectException
Throws:
ProjectException
Method Detail

getName

public String getName()

getDmls

public List<DmlFile> getDmls()

shouldCompile

public boolean shouldCompile()

getDependencyProjects

public List<Project> getDependencyProjects()

getFullDmlSortedList

public List<DmlFile> getFullDmlSortedList()

getProjects

public List<Project> getProjects()

validate

public void validate()
              throws ProjectException
Throws:
ProjectException

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

generateProjectProperties

public void generateProjectProperties(String outputDirectory)
                               throws IOException
Throws:
IOException

fromName

public static Project fromName(String projectName)
                        throws IOException,
                               ProjectException,
                               MalformedURLException
Throws:
IOException
ProjectException
MalformedURLException

fromProperties

public static Project fromProperties(Properties properties)
                              throws MalformedURLException,
                                     IOException,
                                     ProjectException
Throws:
MalformedURLException
IOException
ProjectException


Copyright © 2013. All Rights Reserved.