Interface VersionToConfigDirectoryIndex

    • Method Detail

      • findConfiguration

        java.util.Optional<DirectoryConfiguration> findConfiguration​(java.lang.String groupId,
                                                                     java.lang.String artifactId,
                                                                     java.lang.String version)
        Returns the configuration for the requested artifact.
        Parameters:
        groupId - the group ID of the artifact
        artifactId - the artifact ID of the artifact
        version - the version of the artifact
        Returns:
        a configuration, or empty if no configuration directory is available
      • findLatestConfigurationFor

        @Deprecated
        java.util.Optional<DirectoryConfiguration> findLatestConfigurationFor​(java.lang.String groupId,
                                                                              java.lang.String artifactId)
        Returns the latest configuration for the requested artifact.
        Parameters:
        groupId - the group ID of the artifact
        artifactId - the artifact ID of the artifact
        Returns:
        a configuration, or empty if no configuration directory is available
      • findLatestConfigurationFor

        java.util.Optional<DirectoryConfiguration> findLatestConfigurationFor​(java.lang.String groupId,
                                                                              java.lang.String artifactId,
                                                                              java.lang.String version)
        Returns the latest configuration for the requested artifact.
        Parameters:
        groupId - the group ID of the artifact
        artifactId - the artifact ID of the artifact
        version - the version of the artifact
        Returns:
        a configuration, or empty if no configuration directory is available