Interface ReactorProject

  • All Known Implementing Classes:
    DefaultReactorProject

    public interface ReactorProject
    A Tycho project in the reactor.
    • Field Detail

      • CTX_REACTOR_PROJECT

        static final String CTX_REACTOR_PROJECT
        Conventional key used to store ReactorProject in MavenProject.context
        See Also:
        Constant Field Values
      • CTX_DEPENDENCY_METADATA

        static final String CTX_DEPENDENCY_METADATA
        Conventional key used to store dependency metadata in MavenProject.context
        See Also:
        Constant Field Values
      • CTX_SECONDARY_DEPENDENCY_METADATA

        static final String CTX_SECONDARY_DEPENDENCY_METADATA
        Conventional key used to store secondary dependency metadata in MavenProject.context
        See Also:
        Constant Field Values
      • SOURCE_ARTIFACT_CLASSIFIER

        static final String SOURCE_ARTIFACT_CLASSIFIER
        Conventional sources jar Maven artifact classifier.
        See Also:
        Constant Field Values
    • Method Detail

      • getBasedir

        File getBasedir()
      • getPackaging

        String getPackaging()
      • getGroupId

        String getGroupId()
      • getArtifactId

        String getArtifactId()
      • getVersion

        String getVersion()
      • getOutputDirectory

        File getOutputDirectory()
      • getTestOutputDirectory

        File getTestOutputDirectory()
      • getArtifact

        File getArtifact()
        Returns main project artifact file or null, if the project has not been packaged yet.
      • getArtifact

        File getArtifact​(String artifactClassifier)
        returns attached artifact file or null if no such attached artifact.
      • setContextValue

        void setContextValue​(String key,
                             Object value)
      • setDependencyMetadata

        void setDependencyMetadata​(boolean primary,
                                   Set<?> installableUnits)
      • getDependencyMetadata

        Set<?> getDependencyMetadata​(boolean primary)
        Returns set of p2 IInstallableUnits that describe requirements and provided capabilities of this project.
      • getDependencyMetadata

        Set<?> getDependencyMetadata()
        Returns project dependency metadata with both primary and secondary project installable units.
      • getBuildQualifier

        String getBuildQualifier()
      • getExpandedVersion

        String getExpandedVersion()
      • getId

        String getId()
        human-readable id used in error messages
      • sameProject

        boolean sameProject​(Object otherProject)