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

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

Best Java code snippets using org.sonatype.nexus.configuration.model.CRepository.setId (Showing top 20 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 setId( String id )
{
  getCurrentConfiguration( true ).setId( id );
}
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-p2-repository-plugin

final CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus/nexus-configuration-model

value.setId( cRepository.getId() );
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus.plugins/nexus-p2-repository-plugin

final CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus.plugins/nexus-p2-repository-plugin

final CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

CRepository repo = new DefaultCRepository();
repo.setId("");
repo.setName("");
origin: org.sonatype.nexus.plugins/nexus-restlet1x-plugin

appModel.setId(resource.getId());
origin: org.sonatype.nexus/nexus-rest-api

appModel.setId( resource.getId() );
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus/nexus-app

repo.setId( "" );
repo.setName( "" );
origin: org.sonatype.nexus/nexus-configuration-model

cRepository.setId( getTrimmedValue( parser.nextText() ) );
org.sonatype.nexus.configuration.modelCRepositorysetId

Javadoc

Set repository ID. It should uniquely identify this repository across Nexus.

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.
  • setIndexable
    Set if true, repository will get indexed. If false, the files and artifacts from repository will NOT
  • 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

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
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