Codota Logo
CRepository.setIndexable
Code IndexAdd Codota to your IDE (free)

How to use
setIndexable
method
in
org.sonatype.nexus.configuration.model.CRepository

Best Java code snippets using org.sonatype.nexus.configuration.model.CRepository.setIndexable (Showing top 11 results out of 315)

  • Common ways to obtain CRepository
private void myMethod () {
CRepository c =
  • Codota Iconnew DefaultCRepository()
  • Smart code suggestions by Codota
}
origin: org.sonatype.nexus/nexus-proxy

public void setIndexable( boolean indexable )
{
  getCurrentConfiguration( true ).setIndexable( indexable );
}
origin: org.sonatype.nexus.plugins/nexus-site-repository-plugin

@Override
protected CRepositoryCoreConfiguration initCoreConfiguration() {
 CRepository repo = new DefaultCRepository();
 repo.setId("");
 repo.setProviderRole(WebSiteRepository.class.getName());
 repo.setProviderHint(SiteRepository.ID);
 Xpp3Dom ex = new Xpp3Dom(DefaultCRepository.EXTERNAL_CONFIGURATION_NODE_NAME);
 repo.setExternalConfiguration(ex);
 repo.setIndexable(false);
 repo.setWritePolicy(RepositoryWritePolicy.ALLOW_WRITE.name());
 repo.setNotFoundCacheTTL(1440);
 CRepositoryCoreConfiguration result = new CRepositoryCoreConfiguration(
   getTemplateProvider().getApplicationConfiguration(),
   repo,
   new CRepositoryExternalConfigurationHolderFactory<DefaultSiteRepositoryConfiguration>()
   {
    public DefaultSiteRepositoryConfiguration createExternalConfigurationHolder(CRepository config) {
     return new DefaultSiteRepositoryConfiguration((Xpp3Dom) config.getExternalConfiguration());
    }
   });
 return result;
}
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

repo.setIndexable(true);
repo.setSearchable(true);
origin: org.sonatype.nexus/nexus-configuration-model

value.setIndexable( cRepository.isIndexable() );
origin: org.sonatype.nexus/nexus-app

repo.setIndexable( true );
repo.setSearchable( true );
origin: org.sonatype.nexus/nexus-configuration

  + cfg.getProviderHint() + "\" repositories, only Maven2 repositories are indexable!" ) );
cfg.setIndexable( false );
origin: org.sonatype.nexus.plugins/nexus-restlet1x-plugin

appModel.setIndexable(false);
appModel.setIndexable(repoResource.isIndexable());
appModel.setSearchable(repoResource.isIndexable());
origin: org.sonatype.nexus/nexus-rest-api

appModel.setIndexable( false );
appModel.setIndexable( repoResource.isIndexable() );
appModel.setSearchable( repoResource.isIndexable() );
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

repo.setNotFoundCacheTTL(1440);
repo.setIndexable(true);
repo.setSearchable(true);
origin: org.sonatype.nexus/nexus-app

repo.setIndexable( true );
repo.setSearchable( true );
origin: org.sonatype.nexus/nexus-configuration-model

cRepository.setIndexable( getBooleanValue( getTrimmedValue( parser.nextText() ), "indexable", parser, "false" ) );
org.sonatype.nexus.configuration.modelCRepositorysetIndexable

Javadoc

Set if true, repository will get indexed. If false, the files and artifacts from repository will NOT be indexed (no index will be maintained for this repository).

Popular methods of CRepository

  • getExternalConfiguration
    Get repository implementation's own configuration.
  • getRemoteStorage
    Get the remote storage definition of repository.
  • setExternalConfiguration
    Set repository implementation's own configuration.
  • setId
    Set repository ID. It should uniquely identify this repository across Nexus.
  • setName
    Set human readable Repository name.
  • setNotFoundCacheTTL
    Set notFoundCache, the neg-cache records time to live in minutes. How long will misses be cached.
  • setRemoteStorage
    Set the remote storage definition of repository.
  • setWritePolicy
    Set the policy of the repositories write capability, i.e. (ALLOW_WRITE, ALLOW_WRITE_ONCE, READ_ONLY)
  • setNotFoundCacheActive
    Set if true, NFC will be used. If false, no miss caching will happen.
  • setProviderHint
    Set the implementation of repository.
  • setProviderRole
    Set the type of repository.
  • getId
    Get repository ID. It should uniquely identify this repository across Nexus.
  • setProviderRole,
  • getId,
  • getLocalStorage,
  • getName,
  • setSearchable,
  • getLocalStatus,
  • getProviderHint,
  • getNotFoundCacheTTL,
  • setBrowseable

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getExternalFilesDir (Context)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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