java.lang.Object
net.ssehub.easy.producer.eclipse.persistency.project_creation.ProjectCreator

public class ProjectCreator extends Object
Creates a new Project with the given parameters.
Author:
El-Sharkawy, Kapeluch, Nowatzki
  • Field Details

    • LOGGER

      private static final net.ssehub.easy.basics.logger.EASyLoggerFactory.EASyLogger LOGGER
    • projectname

      private String projectname
    • lazy

      private boolean lazy
  • Constructor Details

  • Method Details

    • deriveNewMember

      public ProductLineProject deriveNewMember(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.
      Parameters:
      predecessor - On predecessor of the new project
      configurators - Optional list of configurators to configure the newly created project, maybe null. The configurators will be applied in the ordering of the array.
      Returns:
      The newly created product line project
      See Also:
    • newPLP

      public ProductLineProject newPLP(IEASyProjectConfigurator... configurators)
      Creates a new product line project with all necessarily files and folders.
      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.
      Returns:
      The newly created product line project
      See Also:
    • projectExists

      public static boolean projectExists(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