public void setPathPrefix( String prefix ) { getCurrentConfiguration( true ).setPathPrefix( prefix ); }
public void setExposed( boolean exposed ) { getCurrentConfiguration( true ).setExposed( exposed ); }
public int getNotFoundCacheTimeToLive() { return getCurrentConfiguration( false ).getNotFoundCacheTTL(); }
public boolean isBrowseable() { return getCurrentConfiguration( false ).isBrowseable(); }
public void setNotFoundCacheActive( boolean notFoundCacheActive ) { getCurrentConfiguration( true ).setNotFoundCacheActive( notFoundCacheActive ); }
public String getLocalUrl() { // see NEXUS-2482 if ( getCurrentConfiguration( false ).getLocalStorage() == null || StringUtils.isEmpty( getCurrentConfiguration( false ).getLocalStorage().getUrl() ) ) { return getCurrentConfiguration( false ).defaultLocalStorageUrl; } return getCurrentConfiguration( false ).getLocalStorage().getUrl(); }
public String getProviderHint() { return getCurrentConfiguration( false ).getProviderHint(); }
public String getId() { return getCurrentConfiguration( false ).getId(); }
public boolean isIndexable() { return getCurrentConfiguration( false ).isIndexable(); }
public boolean isUserManaged() { return getCurrentConfiguration( false ).isUserManaged(); }
public void setNotFoundCacheTimeToLive( int notFoundCacheTimeToLive ) { getCurrentConfiguration( true ).setNotFoundCacheTTL( notFoundCacheTimeToLive ); }
public String getProviderRole() { return getCurrentConfiguration( false ).getProviderRole(); }
public void setSearchable( boolean searchable ) { getCurrentConfiguration( true ).setSearchable( searchable ); }
public boolean isNotFoundCacheActive() { return getCurrentConfiguration( false ).isNotFoundCacheActive(); }
public void setName( String name ) { getCurrentConfiguration( true ).setName( name ); }
public boolean isExposed() { return getCurrentConfiguration( false ).isExposed(); }
public LocalStatus getLocalStatus() { if( getCurrentConfiguration( false ).getLocalStatus() == null ) { return null; } return LocalStatus.valueOf( getCurrentConfiguration( false ).getLocalStatus() ); }
public void setWritePolicy( RepositoryWritePolicy writePolicy ) { getCurrentConfiguration( true ).setWritePolicy( writePolicy.name() ); }
public void setLocalStatus( LocalStatus localStatus ) { getCurrentConfiguration( true ).setLocalStatus( localStatus.toString() ); }
public RepositoryWritePolicy getWritePolicy() { return RepositoryWritePolicy.valueOf( getCurrentConfiguration( false ).getWritePolicy() ); }