aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rest/archiva-rest-api
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2011-08-29 07:41:16 +0000
committerBrett Porter <brett@apache.org>2011-08-29 07:41:16 +0000
commit82d6d72490f392fe5518d170f8f58199392810ae (patch)
treee5f53965b8d0cfde1e740fd24acfa9423a21b320 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api
parenta2ca0a36fb4f8392d4f22ad3ba8d101f8c25fbeb (diff)
downloadarchiva-82d6d72490f392fe5518d170f8f58199392810ae.tar.gz
archiva-82d6d72490f392fe5518d170f8f58199392810ae.zip
replace url with location to match configuration API and populate sensible values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162668 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/ManagedRepository.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/ManagedRepository.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/ManagedRepository.java
index 49c40db76..59787b078 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/ManagedRepository.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/ManagedRepository.java
@@ -33,7 +33,7 @@ public class ManagedRepository
private String name;
- private String url;
+ private String location;
private String layout;
@@ -52,12 +52,12 @@ public class ManagedRepository
// no op
}
- public ManagedRepository( String id, String name, String url, String layout, boolean snapshots, boolean releases,
+ public ManagedRepository( String id, String name, String location, String layout, boolean snapshots, boolean releases,
boolean blockRedeployments, boolean stageRepoNeeded, String cronExpression )
{
this.id = id;
this.name = name;
- this.url = url;
+ this.location = location;
this.layout = layout;
this.snapshots = snapshots;
this.releases = releases;
@@ -81,9 +81,9 @@ public class ManagedRepository
return this.name;
}
- public String getUrl()
+ public String getLocation()
{
- return this.url;
+ return this.location;
}
@@ -125,9 +125,9 @@ public class ManagedRepository
this.snapshots = snapshots;
}
- public void setUrl( String url )
+ public void setLocation( String location )
{
- this.url = url;
+ this.location = location;
}
public boolean isBlockRedeployments()
@@ -189,7 +189,7 @@ public class ManagedRepository
@Override
public String toString()
{
- return "ManagedRepository{" + "id='" + id + '\'' + ", name='" + name + '\'' + ", url='" + url + '\''
+ return "ManagedRepository{" + "id='" + id + '\'' + ", name='" + name + '\'' + ", location='" + location + '\''
+ ", layout='" + layout + '\'' + ", snapshots=" + snapshots + ", releases=" + releases
+ ", blockRedeployments=" + blockRedeployments + ", cronExpression='" + cronExpression + '\''
+ ", stageRepoNeeded=" + stageRepoNeeded + '}';