@Facet.Exposed public class MavenGroupFacet extends GroupFacetImpl
@Named @Facet.Exposed public class AptHostedFacet extends FacetSupport
@Exposed public class NpmGroupFacet extends GroupFacetImpl
@Named @Facet.Exposed public class AptProxyFacet extends ProxyFacetSupport
@Named @Facet.Exposed public class AptSigningFacet extends FacetSupport
@Facet.Exposed public interface NpmHostedFacet extends Facet
@Facet.Exposed public interface ComponentMaintenance extends Facet
@Facet.Exposed public interface MavenFacet extends Facet
@Facet.Exposed public interface NegativeCacheFacet extends Facet
@Facet.Exposed public interface StorageFacet extends Facet
@Facet.Exposed public interface MavenHostedFacet extends Facet
@Facet.Exposed public interface GroupFacet extends Facet
@Facet.Exposed public interface RawContentFacet extends Facet
@Facet.Exposed public interface ConfigurationFacet extends Facet
@Facet.Exposed public interface SearchFacet extends Facet
@Facet.Exposed public interface NpmFacet extends Facet
/** * A format neutral proxy facet. * * @since 3.0 */ @Facet.Exposed public interface ProxyFacet extends Facet { /** * Obtain the content which the user has requested, either by retrieving cached content, or by fetching new or * updated content from the upstream repository. */ @Nullable Content get(Context context) throws IOException; /** * Returns the root of the remote repository. */ URI getRemoteUrl(); /** * Invalidates all entries from proxy cache, causing all subsequent requests to attempt to fetch new or updated * content, if any. */ void invalidateProxyCaches(); }
/** * Maven2 specific index facet responsible to generate index (for hosted and group repositories). * * @since 3.0 */ @Facet.Exposed public interface MavenIndexFacet extends Facet { /** * Returns time when index was last published on this repository, or {@code null} if index is not published for * whatever reason. */ @Nullable DateTime lastPublished() throws IOException; /** * Publishes Maven Indexer indexes repository for downstream consumption. */ void publishIndex() throws IOException; /** * Removes published Maven Indexer indexes from repository (or cache, if proxy). */ void unpublishIndex() throws IOException; }
/** * npm search index facet. * * @since 3.0 * @deprecated No longer actively used by npm upstream, replaced by v1 search api (NEXUS-13150). */ @Deprecated @Facet.Exposed public interface NpmSearchIndexFacet extends Facet { /** * Fetches the index document. */ Content searchIndex(@Nullable final DateTime since) throws IOException; /** * Invalidates cached index document, if applicable. */ void invalidateCachedSearchIndex(); }
/** * npm token management facet. * * @since 3.0 */ @Facet.Exposed public interface NpmTokenFacet extends Facet { /** * Performs a login for user authenticated in the request (creates token and returns login specific response). */ Response login(Context context); /** * Performs a log-out for currently authenticated user (deletes the token if found and returns logout specific * response). */ Response logout(Context context); }