Interface AProject

    • Method Detail

      • isIpsProject

        boolean isIpsProject()
        Returns whether this project is a Faktor-IPS project.
      • getFile

        AFile getFile​(java.lang.String name)
        Returns the file with the given name inside this project. It may not exist.
        Parameters:
        name - a file name, will be resolved as a path relative to this project.
        Returns:
        the file identified by the name
      • getFolder

        AFolder getFolder​(java.lang.String name)
        Returns the folder with the given name inside this project. It may not exist.
        Parameters:
        name - a folder name, will be resolved as a path relative to this project.
        Returns:
        the folder identified by the name
      • getReferencedProjects

        java.util.Set<AProject> getReferencedProjects()
        Returns all other projects this project references.
      • build

        void build​(ABuildKind buildKind,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
        Builds this project. The buildKind parameter determines, whether an incremental or full build is done and whether output folders are cleaned beforehand.
        Parameters:
        buildKind - the kind of build to perform
        monitor - a progress monitor that is notified about the build process. Individual file processing is reported to the monitor to allow fine-grained progress reporting. The monitor may be null when progress does not need to be reported.
      • getDefaultCharset

        java.nio.charset.Charset getDefaultCharset()
        Returns the default character set used for files in this project.