Class ProjectCreator


  • public class ProjectCreator
    extends java.lang.Object
    Creates a new Project with the given parameters.
    Author:
    El-Sharkawy, Kapeluch, Nowatzki
    • Method Detail

      • deriveNewMember

        public ProductLineProject deriveNewMember​(java.lang.String predecessor,
                                                  IEASyProjectConfigurator... configurators)
        Creates a new productline member with all necessarily files and folders. The new created project will be a successor of an existing project. This method acts as a frontend for #deriveNewPLP(String).
        Parameters:
        configurators - Optional list of configurators to configure the newly created project, maybe null. The configurators will be applied in the ordering of the array.
        predecessor - On predecessor of the new project
        Returns:
        The newly created product line project
        See Also:
        newPLP(IEASyProjectConfigurator...)
      • projectExists

        public static boolean projectExists​(java.lang.String projectname)
        Tests whether a given projectname already exists inside the workspace.
        Parameters:
        projectname - A new projectname to test
        Returns:
        true if the project already exists, otherwise false