Class ValidProjectAccessor

java.lang.Object
org.palladiosimulator.measurementsui.fileaccess.ValidProjectAccessor

public class ValidProjectAccessor extends Object
Used to get valid projects from the workspace. Mainly used for finding the .aird file of projects to determine if wizard work-flow can be applied on the project.
  • Constructor Details

    • ValidProjectAccessor

      public ValidProjectAccessor()
  • Method Details

    • getAirdFileOfProject

      public Optional<String> getAirdFileOfProject(IProject project)
      Passes a project instead of the string of the project name.
      Parameters:
      project - in which to search for
      Returns:
      the String Path to .aird File
    • getAllProjectAirdfiles

      public List<IProject> getAllProjectAirdfiles()
      Looks through each project in the workspace. If project contains an .aird file, we add it to List and return
      Returns:
      List of all projects that contain an .aird file