Permalink
Browse files

Add virtualized repository getter

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
  • Loading branch information...
1 parent dd9ef3f commit ea170317223b683a04f2c6e44128e9d05d87be79 @adreghiciu adreghiciu committed Oct 31, 2012
@@ -22,6 +22,11 @@
{
/**
+ * @return id of virtualized repository
+ */
+ String virtualizedRepository();
+
+ /**
* Specify the id of virtualized repository.
*
* @param repositoryId of virtualized repository
@@ -59,6 +59,12 @@ private T me()
}
@Override
+ public String virtualizedRepository()
+ {
+ return settings().getShadowOf();
+ }
+
+ @Override
public T ofRepository( final String repositoryId )
{
settings().setShadowOf( repositoryId );

0 comments on commit ea17031

Please sign in to comment.