Tabnine Logo
CRepository.setProviderRole
Code IndexAdd Tabnine to your IDE (free)

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

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

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

repo.setName("");
repo.setProviderRole(GroupRepository.class.getName());
repo.setProviderHint(providerHint);
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( ShadowRepository.class.getName() );
repo.setProviderHint( "m1-m2-shadow" );
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( ShadowRepository.class.getName() );
repo.setProviderHint( "m2-m1-shadow" );
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

repo.setName("");
repo.setProviderRole(GroupRepository.class.getName());
repo.setProviderHint(DefaultRubyGroupRepository.ID);
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( GroupRepository.class.getName() );
repo.setProviderHint( "maven2" );
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( GroupRepository.class.getName() );
repo.setProviderHint( "maven1" );
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

repo.setName("");
repo.setProviderRole(Repository.class.getName());
repo.setProviderHint(DefaultHostedRubyRepository.ID);
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( Repository.class.getName() );
repo.setProviderHint( "maven1" );
origin: org.sonatype.nexus/nexus-configuration-model

value.setProviderRole( cRepository.getProviderRole() );
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( Repository.class.getName() );
repo.setProviderHint( "maven2" );
origin: org.sonatype.nexus.plugins/nexus-p2-repository-plugin

repo.setName("");
repo.setProviderRole(Repository.class.getName());
repo.setProviderHint(UpdateSiteProxyRepositoryImpl.ROLE_HINT);
origin: org.sonatype.nexus.plugins/nexus-p2-repository-plugin

repo.setName("");
repo.setProviderRole(Repository.class.getName());
repo.setProviderHint(P2ProxyRepositoryImpl.ROLE_HINT);
origin: org.sonatype.nexus.plugins/nexus-ruby-plugin

repo.setName("");
repo.setProviderRole(Repository.class.getName());
repo.setProviderHint(DefaultProxyRubyRepository.ID);
origin: org.sonatype.nexus.plugins/nexus-restlet1x-plugin

appModel.setProviderRole(resource.getProviderRole());
origin: org.sonatype.nexus/nexus-rest-api

appModel.setProviderRole( resource.getProviderRole() );
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( Repository.class.getName() );
repo.setProviderHint( "maven1" );
origin: org.sonatype.nexus/nexus-app

repo.setName( "" );
repo.setProviderRole( Repository.class.getName() );
repo.setProviderHint( "maven2" );
origin: org.sonatype.nexus/nexus-configuration-model

cRepository.setProviderRole( getTrimmedValue( parser.nextText() ) );
org.sonatype.nexus.configuration.modelCRepositorysetProviderRole

Javadoc

Set the type of 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.
  • 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.
  • getId
    Get repository ID. It should uniquely identify this repository across Nexus.
  • setProviderHint,
  • getId,
  • getLocalStorage,
  • getName,
  • setSearchable,
  • getLocalStatus,
  • getProviderHint,
  • getNotFoundCacheTTL,
  • setBrowseable

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JComboBox (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now