return value;
}
private V1RepositoryConfiguration readV1RepositoryConfiguration( String prefix, Registry registry )
{
V1RepositoryConfiguration value = new V1RepositoryConfiguration();
String url = registry.getString( prefix + "url", value.getUrl() );
value.setUrl( url );
boolean indexed = registry.getBoolean( prefix + "indexed", value.isIndexed() );
value.setIndexed( indexed );
String location = registry.getString( prefix + "location", value.getLocation() );
value.setLocation( location );
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 );
String indexDir = registry.getString( prefix + "indexDir", value.getIndexDir() );
value.setIndexDir( indexDir );
String refreshCronExpression = registry.getString( prefix + "refreshCronExpression", value.getRefreshCronExpression() );
value.setRefreshCronExpression( refreshCronExpression );
int retentionCount = registry.getInt( prefix + "retentionCount", value.getRetentionCount() );
value.setRetentionCount( retentionCount );
int daysOlder = registry.getInt( prefix + "daysOlder", value.getDaysOlder() );
value.setDaysOlder( daysOlder );
boolean deleteReleasedSnapshots = registry.getBoolean( prefix + "deleteReleasedSnapshots", value.isDeleteReleasedSnapshots() );
value.setDeleteReleasedSnapshots( deleteReleasedSnapshots );
String id = registry.getString( prefix + "id", value.getId() );
value.setId( id );
String name = registry.getString( prefix + "name", value.getName() );
value.setName( name );
String layout = registry.getString( prefix + "layout", value.getLayout() );
value.setLayout( layout );
return value;
}