- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
/** * 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(); }
/** * Tagging interface indicating that a facet is an implementation of a {@code ComposerHostedMetadataFacet}. This facet * is responsible for maintaining the internal metadata (currently just the provider.json file). */ @Facet.Exposed public interface ComposerHostedMetadataFacet extends Facet { }
/** * Services for accessing and manipulating repository-level metadata attributes. * * @since 3.0 */ @Facet.Exposed public interface AttributesFacet extends Facet { /** * Returns an immutable view of the Repository's attributes. */ ImmutableNestedAttributesMap getAttributes(); /** * Modifies the Repository's attributes. */ void modifyAttributes(AttributeChange change); }
/** * View facet. * * @since 3.0 */ @Facet.Exposed public interface ViewFacet extends Facet { /** * Dispatch request to router. */ Response dispatch(Request request) throws Exception; /** * Dispatch request to router with an existing context to pull attributes from. * @since 3.1 */ Response dispatch(Request request, Context context) throws Exception; }
/** * 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); }
/** * Facet for purging unused Maven snapshots. * * @since 3.0 */ @Facet.Exposed public interface PurgeUnusedSnapshotsFacet extends Facet { /** * Purges snapshots that were not used/accessed for a number of days. * * @param numberOfDays number of days from the moment the method is invoked. Must be > 0. */ void purgeUnusedSnapshots(int numberOfDays); }
/** * 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(); }
@Facet.Exposed public interface NpmFacet extends Facet
@Facet.Exposed public interface SearchFacet extends Facet
@Facet.Exposed public interface ConfigurationFacet extends Facet
@Facet.Exposed public interface RawContentFacet extends Facet
/** * Facet interface for rebuilding Helm index.yaml files * * @since 0.0.2 */ @Exposed public interface CreateIndexFacet extends Facet { /** * Mark the helm index yaml as invalidated such that it will be rebuilt after waiting for a configured amount of time * to prevent unnecessary successive rebuilds of the metadata. */ void invalidateIndex(); }
@Facet.Exposed public interface GroupFacet extends Facet
/** * Facet handling the removal of snapshots from a repository. * * @since 3.0 */ @Facet.Exposed public interface RemoveSnapshotsFacet extends Facet { /** * Delete snapshots matching this configuration, and update associated metadata in the repository. * * @param removeSnapshotsConfig {@link RemoveSnapshotsConfig} */ void removeSnapshots(RemoveSnapshotsConfig removeSnapshotsConfig); }
@Facet.Exposed public interface MavenHostedFacet extends Facet
/** * Find & delete components and assets that were not used/accessed for a number of days. * * @since 3.0 */ @Facet.Exposed public interface PurgeUnusedFacet extends Facet { /** * Find & delete components and assets that were not used/accessed for a number of days. * * @param numberOfDays number of days from the moment the method is invoked. Must be > 0. */ void purgeUnused(int numberOfDays); }
@Facet.Exposed public interface StorageFacet extends Facet
/** * Security facet. * * @since 3.0 */ @Facet.Exposed public interface SecurityFacet extends Facet { /** * Ensure the given request is permitted on the repository. * * @throws AuthorizationException */ void ensurePermitted(Request request); }
@Facet.Exposed public interface NegativeCacheFacet extends Facet
/** * Interface defining the features supported by Composer repository hosted facets. */ @Facet.Exposed public interface ComposerHostedFacet extends Facet { void upload(String vendor, String project, String version, Payload payload) throws IOException; Content getPackagesJson() throws IOException; Content getProviderJson(String vendor, String project) throws IOException; void rebuildProviderJson(String vendor, String project) throws IOException; @Nullable Content getZipball(String path) throws IOException; }