@Override protected void initializeConfiguration() throws ConfigurationException { if ( getApplicationConfiguration().getConfigurationModel() != null ) { configure( getApplicationConfiguration() ); } }
public void saveConfiguration() throws IOException { nexusConfiguration.saveConfiguration(); }
@SuppressWarnings( "deprecation" ) @Override public boolean isParticipating( IssueSubmissionRequest request ) { return nexusConfig.getConfigurationModel() != null; }
protected File getTempDirectory() { if (tempDirectory == null) { tempDirectory = nexusConfiguration.getTemporaryDirectory(); } return tempDirectory; }
protected File getLegacyAttributesDirectory() { return applicationConfiguration.getWorkingDirectory( "proxy/attributes", false ); }
public void setProxyAuthentication( RemoteAuthenticationSettings proxyAuthentication ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setAuthentication( authenticationInfoConverter .convertToModel( proxyAuthentication ) ); }
protected File getWorkingDirectory() { if (workingDirectory == null) { workingDirectory = nexusConfiguration.getWorkingDirectory(INDEXER_WORKING_DIRECTORY_KEY); } return workingDirectory; }
public RemoteStorageContext getGlobalRemoteStorageContext() { return nexusConfiguration.getGlobalRemoteStorageContext(); }
public Map<String, String> getConfigurationFiles() { return nexusConfiguration.getConfigurationFiles(); }
public NexusStreamResponse getConfigurationAsStreamByKey( String key ) throws IOException { return nexusConfiguration.getConfigurationAsStreamByKey( key ); }
public void createInternals() throws ConfigurationException { createRepositories(); }
protected Repository createRepository( CRepository repository ) throws ConfigurationException, IOException { return nexusConfiguration.createRepository( repository ); }
public void loadConfiguration() throws ConfigurationException, IOException { loadConfiguration( false ); }
@Override public boolean isEnabled() { return getCurrentConfiguration( false ) != null; }
public File getConfigurationDirectory() { return nexusConfiguration.getConfigurationDirectory(); }
public LocalStorageContext getGlobalLocalStorageContext() { return nexusConfiguration.getGlobalLocalStorageContext(); }
protected File getTempDirectory() { if ( tempDirectory == null ) { tempDirectory = nexusConfiguration.getTemporaryDirectory(); } return tempDirectory; }
protected File getWorkingDirectory() { if ( workingDirectory == null ) { workingDirectory = nexusConfiguration.getWorkingDirectory( "indexer" ); } return workingDirectory; }
public File getWorkingDirectory() { return nexusConfiguration.getWorkingDirectory(); }
public File getWorkingDirectory( final String key, final boolean createIfNeeded ) { return nexusConfiguration.getWorkingDirectory( key, createIfNeeded ); }