public boolean getBoolean( String key ) { return lookupRegistry.getBoolean( key ); }
public boolean getBoolean( String key, boolean defaultValue ) { return lookupRegistry.getBoolean( key, defaultValue ); }
boolean showFindArtifacts = registry.getBoolean( prefix + "showFindArtifacts", value.isShowFindArtifacts() ); value.setShowFindArtifacts( showFindArtifacts ); boolean appletFindEnabled = registry.getBoolean( prefix + "appletFindEnabled", value.isAppletFindEnabled() ); value.setAppletFindEnabled( appletFindEnabled ); boolean disableEasterEggs = registry.getBoolean( prefix + "disableEasterEggs", value.isDisableEasterEggs() ); value.setDisableEasterEggs( disableEasterEggs ); boolean disableRegistration = registry.getBoolean( prefix + "disableRegistration", value.isDisableRegistration() ); value.setDisableRegistration( disableRegistration );
boolean showFindArtifacts = registry.getBoolean( prefix + "showFindArtifacts", value.isShowFindArtifacts() ); value.setShowFindArtifacts( showFindArtifacts ); boolean appletFindEnabled = registry.getBoolean( prefix + "appletFindEnabled", value.isAppletFindEnabled() ); value.setAppletFindEnabled( appletFindEnabled ); boolean disableEasterEggs = registry.getBoolean( prefix + "disableEasterEggs", value.isDisableEasterEggs() ); value.setDisableEasterEggs( disableEasterEggs ); boolean disableRegistration = registry.getBoolean( prefix + "disableRegistration", value.isDisableRegistration() ); value.setDisableRegistration( disableRegistration );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
boolean useNtlm = registry.getBoolean( prefix + "useNtlm", value.isUseNtlm() ); value.setUseNtlm( useNtlm );
boolean useNtlm = registry.getBoolean( prefix + "useNtlm", value.isUseNtlm() ); value.setUseNtlm( useNtlm );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
private RedbackRuntimeConfiguration readRedbackRuntimeConfiguration( String prefix, Registry registry ) { RedbackRuntimeConfiguration value = new RedbackRuntimeConfiguration(); boolean migratedFromRedbackConfiguration = registry.getBoolean( prefix + "migratedFromRedbackConfiguration", value.isMigratedFromRedbackConfiguration() ); value.setMigratedFromRedbackConfiguration( migratedFromRedbackConfiguration ); java.util.List userManagerImpls = new java.util.ArrayList/*<String>*/(); userManagerImpls.addAll( registry.getList( prefix + "userManagerImpls.userManagerImpl" ) ); value.setUserManagerImpls( userManagerImpls ); java.util.List rbacManagerImpls = new java.util.ArrayList/*<String>*/(); rbacManagerImpls.addAll( registry.getList( prefix + "rbacManagerImpls.rbacManagerImpl" ) ); value.setRbacManagerImpls( rbacManagerImpls ); LdapConfiguration ldapConfiguration = readLdapConfiguration( prefix + "ldapConfiguration.", registry ); value.setLdapConfiguration( ldapConfiguration ); java.util.List ldapGroupMappings = new java.util.ArrayList/*<LdapGroupMapping>*/(); List ldapGroupMappingsSubsets = registry.getSubsetList( prefix + "ldapGroupMappings.ldapGroupMapping" ); for ( Iterator i = ldapGroupMappingsSubsets.iterator(); i.hasNext(); ) { LdapGroupMapping v = readLdapGroupMapping( "", (Registry) i.next() ); ldapGroupMappings.add( v ); } value.setLdapGroupMappings( ldapGroupMappings ); java.util.Map configurationProperties = registry.getProperties( prefix + "configurationProperties" ); value.setConfigurationProperties( configurationProperties ); boolean useUsersCache = registry.getBoolean( prefix + "useUsersCache", value.isUseUsersCache() ); value.setUseUsersCache( useUsersCache ); CacheConfiguration usersCacheConfiguration = readCacheConfiguration( prefix + "usersCacheConfiguration.", registry ); value.setUsersCacheConfiguration( usersCacheConfiguration ); return value; }
private RedbackRuntimeConfiguration readRedbackRuntimeConfiguration( String prefix, Registry registry ) { RedbackRuntimeConfiguration value = new RedbackRuntimeConfiguration(); boolean migratedFromRedbackConfiguration = registry.getBoolean( prefix + "migratedFromRedbackConfiguration", value.isMigratedFromRedbackConfiguration() ); value.setMigratedFromRedbackConfiguration( migratedFromRedbackConfiguration ); java.util.List userManagerImpls = new java.util.ArrayList/*<String>*/(); userManagerImpls.addAll( registry.getList( prefix + "userManagerImpls.userManagerImpl" ) ); value.setUserManagerImpls( userManagerImpls ); java.util.List rbacManagerImpls = new java.util.ArrayList/*<String>*/(); rbacManagerImpls.addAll( registry.getList( prefix + "rbacManagerImpls.rbacManagerImpl" ) ); value.setRbacManagerImpls( rbacManagerImpls ); LdapConfiguration ldapConfiguration = readLdapConfiguration( prefix + "ldapConfiguration.", registry ); value.setLdapConfiguration( ldapConfiguration ); java.util.List ldapGroupMappings = new java.util.ArrayList/*<LdapGroupMapping>*/(); List ldapGroupMappingsSubsets = registry.getSubsetList( prefix + "ldapGroupMappings.ldapGroupMapping" ); for ( Iterator i = ldapGroupMappingsSubsets.iterator(); i.hasNext(); ) { LdapGroupMapping v = readLdapGroupMapping( "", (Registry) i.next() ); ldapGroupMappings.add( v ); } value.setLdapGroupMappings( ldapGroupMappings ); java.util.Map configurationProperties = registry.getProperties( prefix + "configurationProperties" ); value.setConfigurationProperties( configurationProperties ); boolean useUsersCache = registry.getBoolean( prefix + "useUsersCache", value.isUseUsersCache() ); value.setUseUsersCache( useUsersCache ); CacheConfiguration usersCacheConfiguration = readCacheConfiguration( prefix + "usersCacheConfiguration.", registry ); value.setUsersCacheConfiguration( usersCacheConfiguration ); return value; }
boolean releases = registry.getBoolean( prefix + "releases", value.isReleases() ); value.setReleases( releases ); boolean blockRedeployments = registry.getBoolean( prefix + "blockRedeployments", value.isBlockRedeployments() ); value.setBlockRedeployments( blockRedeployments ); boolean snapshots = registry.getBoolean( prefix + "snapshots", value.isSnapshots() ); value.setSnapshots( snapshots ); boolean scanned = registry.getBoolean( prefix + "scanned", value.isScanned() ); value.setScanned( scanned ); int daysOlder = registry.getInt( prefix + "daysOlder", value.getDaysOlder() ); value.setDaysOlder( daysOlder ); boolean deleteReleasedSnapshots = registry.getBoolean( prefix + "deleteReleasedSnapshots", value.isDeleteReleasedSnapshots() ); value.setDeleteReleasedSnapshots( deleteReleasedSnapshots ); boolean skipPackedIndexCreation = registry.getBoolean( prefix + "skipPackedIndexCreation", value.isSkipPackedIndexCreation() ); value.setSkipPackedIndexCreation( skipPackedIndexCreation ); boolean stageRepoNeeded = registry.getBoolean( prefix + "stageRepoNeeded", value.isStageRepoNeeded() ); value.setStageRepoNeeded( stageRepoNeeded );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
int port = registry.getInt( prefix + "port", value.getPort() ); value.setPort( port ); boolean ssl = registry.getBoolean( prefix + "ssl", value.isSsl() ); value.setSsl( ssl ); boolean bindAuthenticatorEnabled = registry.getBoolean( prefix + "bindAuthenticatorEnabled", value.isBindAuthenticatorEnabled() ); value.setBindAuthenticatorEnabled( bindAuthenticatorEnabled ); boolean writable = registry.getBoolean( prefix + "writable", value.isWritable() ); value.setWritable( writable ); boolean useRoleNameAsGroup = registry.getBoolean( prefix + "useRoleNameAsGroup", value.isUseRoleNameAsGroup() ); value.setUseRoleNameAsGroup( useRoleNameAsGroup ); java.util.Map extraProperties = registry.getProperties( prefix + "extraProperties" );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
java.util.Map properties = registry.getProperties( prefix + "properties" ); value.setProperties( properties ); boolean disabled = registry.getBoolean( prefix + "disabled", value.isDisabled() ); value.setDisabled( disabled );
private FileLockConfiguration readFileLockConfiguration( String prefix, Registry registry ) { FileLockConfiguration value = new FileLockConfiguration(); boolean skipLocking = registry.getBoolean( prefix + "skipLocking", value.isSkipLocking() ); value.setSkipLocking( skipLocking ); int lockingTimeout = registry.getInt( prefix + "lockingTimeout", value.getLockingTimeout() ); value.setLockingTimeout( lockingTimeout ); return value; }
private FileLockConfiguration readFileLockConfiguration( String prefix, Registry registry ) { FileLockConfiguration value = new FileLockConfiguration(); boolean skipLocking = registry.getBoolean( prefix + "skipLocking", value.isSkipLocking() ); value.setSkipLocking( skipLocking ); int lockingTimeout = registry.getInt( prefix + "lockingTimeout", value.getLockingTimeout() ); value.setLockingTimeout( lockingTimeout ); return value; }
private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry ) { NetworkConfiguration value = new NetworkConfiguration(); int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() ); value.setMaxTotal( maxTotal ); int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() ); value.setMaxTotalPerHost( maxTotalPerHost ); boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() ); value.setUsePooling( usePooling ); return value; }
private NetworkConfiguration readNetworkConfiguration( String prefix, Registry registry ) { NetworkConfiguration value = new NetworkConfiguration(); int maxTotal = registry.getInt( prefix + "maxTotal", value.getMaxTotal() ); value.setMaxTotal( maxTotal ); int maxTotalPerHost = registry.getInt( prefix + "maxTotalPerHost", value.getMaxTotalPerHost() ); value.setMaxTotalPerHost( maxTotalPerHost ); boolean usePooling = registry.getBoolean( prefix + "usePooling", value.isUsePooling() ); value.setUsePooling( usePooling ); return value; }