Commit c5fb9c50 authored by Mathieu Gicquel's avatar Mathieu Gicquel
Browse files

Create Constructor - Fix #32

parent 4d04cf46
......@@ -5,6 +5,11 @@ import fr.alma.gtd.server.main.donnees.*;
import fr.alma.gtd.server.persistence.data.Utilisateur;
public class FacadeFactory {
private FacadeFactory() {
throw new IllegalStateException("Factory class");
}
static IProject getProject(String idServeur, Progress progress, String projectName) {
Project p = new Project(idServeur, progress, projectName);
Facade.getInstance().getProjects().add(p);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment