mirror of https://github.com/apache/archiva.git
[MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
479f10cb7f
commit
23a09c2024
|
@ -176,6 +176,16 @@ public class TestMetadataRepository
|
||||||
//To change body of implemented methods use File | Settings | File Templates.
|
//To change body of implemented methods use File | Settings | File Templates.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean canObtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return false; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object obtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -231,6 +231,16 @@ public class NewArtifactsRssFeedProcessorTest
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean canObtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object obtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
public Collection<String> getNamespaces( String arg0, String arg1 )
|
public Collection<String> getNamespaces( String arg0, String arg1 )
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
|
|
@ -213,6 +213,16 @@ public class TestMetadataRepository
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean canObtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return false; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object obtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
||||||
{
|
{
|
||||||
return artifacts;
|
return artifacts;
|
||||||
|
|
|
@ -176,6 +176,16 @@ public class TestMetadataRepository
|
||||||
//To change body of implemented methods use File | Settings | File Templates.
|
//To change body of implemented methods use File | Settings | File Templates.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean canObtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return false; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object obtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
public List<ArtifactMetadata> getArtifacts( String repositoryId )
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -192,4 +192,14 @@ public class TestMetadataRepository
|
||||||
{
|
{
|
||||||
//To change body of implemented methods use File | Settings | File Templates.
|
//To change body of implemented methods use File | Settings | File Templates.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean canObtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return false; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object obtainAccess( Class<?> aClass )
|
||||||
|
{
|
||||||
|
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue