case name:
value = rep.getName(); break;
case url:
value = rep.getUrl(); break;
default:
Credentials cred = rep.getCredentials();
if (cred != null) {
switch (key) {
case user:
value = cred.getUser(); break;
case password:
value = cred.getPassword(); break;
case keystore:
value = cred.getKeystore(); break;
case alias:
value = cred.getAlias(); break;
default:
// Won't happen
}
} else {
log("No credentials found for repository " + repdesc, Project.MSG_WARN);