Codota Logo
Facet$Exposed
Code IndexAdd Codota to your IDE (free)

How to use
Facet$Exposed
in
org.sonatype.nexus.repository

Best Java code snippets using org.sonatype.nexus.repository.Facet$Exposed (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.sonatype.nexus.plugins/nexus-repository-npm

/**
 * 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();
}

origin: sonatype-nexus-community/nexus-repository-composer

/**
 * 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
{
}

origin: org.sonatype.nexus/nexus-repository

/**
 * 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);
}

origin: org.sonatype.nexus/nexus-repository

/**
 * 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;
}

origin: org.sonatype.nexus.plugins/nexus-repository-npm

/**
 * 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);
}

origin: org.sonatype.nexus.plugins/nexus-repository-maven

/**
 * 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);
}

origin: org.sonatype.nexus/nexus-repository

/**
 * 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();
}

origin: org.sonatype.nexus.plugins/nexus-repository-npm

@Facet.Exposed
public interface NpmFacet
  extends Facet
origin: org.sonatype.nexus/nexus-repository

@Facet.Exposed
public interface SearchFacet
  extends Facet
origin: org.sonatype.nexus/nexus-repository

@Facet.Exposed
public interface ConfigurationFacet
 extends Facet
origin: org.sonatype.nexus.plugins/nexus-repository-raw

@Facet.Exposed
public interface RawContentFacet
  extends Facet
origin: sonatype-nexus-community/nexus-repository-helm

/**
 * 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();
}

origin: org.sonatype.nexus/nexus-repository

@Facet.Exposed
public interface GroupFacet
  extends Facet
origin: org.sonatype.nexus.plugins/nexus-repository-maven

/**
 * 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);
}

origin: org.sonatype.nexus.plugins/nexus-repository-maven

@Facet.Exposed
public interface MavenHostedFacet
  extends Facet
origin: org.sonatype.nexus/nexus-repository

/**
 * 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);
}

origin: org.sonatype.nexus/nexus-repository

@Facet.Exposed
public interface StorageFacet
  extends Facet
origin: org.sonatype.nexus/nexus-repository

/**
 * 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);
}

origin: org.sonatype.nexus/nexus-repository

@Facet.Exposed
public interface NegativeCacheFacet
  extends Facet
origin: sonatype-nexus-community/nexus-repository-composer

/**
 * 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;
}

org.sonatype.nexus.repositoryFacet$Exposed

Most used methods

  • <init>

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now