You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MockArchivaAdministration.java 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. package org.apache.archiva.converter.mock;
  2. /*
  3. * Licensed to the Apache Software Foundation (ASF) under one
  4. * or more contributor license agreements. See the NOTICE file
  5. * distributed with this work for additional information
  6. * regarding copyright ownership. The ASF licenses this file
  7. * to you under the Apache License, Version 2.0 (the
  8. * "License"); you may not use this file except in compliance
  9. * with the License. You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing,
  14. * software distributed under the License is distributed on an
  15. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. * KIND, either express or implied. See the License for the
  17. * specific language governing permissions and limitations
  18. * under the License.
  19. */
  20. import org.apache.archiva.admin.model.AuditInformation;
  21. import org.apache.archiva.admin.model.RepositoryAdminException;
  22. import org.apache.archiva.admin.model.admin.ArchivaAdministration;
  23. import org.apache.archiva.admin.model.beans.FileType;
  24. import org.apache.archiva.admin.model.beans.LegacyArtifactPath;
  25. import org.apache.archiva.admin.model.beans.NetworkConfiguration;
  26. import org.apache.archiva.admin.model.beans.OrganisationInformation;
  27. import org.apache.archiva.admin.model.beans.UiConfiguration;
  28. import java.util.List;
  29. /**
  30. * @author Olivier Lamy
  31. */
  32. public class MockArchivaAdministration
  33. implements ArchivaAdministration
  34. {
  35. @Override
  36. public List<LegacyArtifactPath> getLegacyArtifactPaths()
  37. throws RepositoryAdminException
  38. {
  39. return null;
  40. }
  41. @Override
  42. public void addLegacyArtifactPath( LegacyArtifactPath legacyArtifactPath, AuditInformation auditInformation )
  43. throws RepositoryAdminException
  44. {
  45. }
  46. @Override
  47. public void deleteLegacyArtifactPath( String path, AuditInformation auditInformation )
  48. throws RepositoryAdminException
  49. {
  50. }
  51. @Override
  52. public void addFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
  53. throws RepositoryAdminException
  54. {
  55. }
  56. @Override
  57. public void removeFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
  58. throws RepositoryAdminException
  59. {
  60. }
  61. @Override
  62. public List<FileType> getFileTypes()
  63. throws RepositoryAdminException
  64. {
  65. return null;
  66. }
  67. @Override
  68. public FileType getFileType( String fileTypeId )
  69. throws RepositoryAdminException
  70. {
  71. return null;
  72. }
  73. @Override
  74. public void addFileType( FileType fileType, AuditInformation auditInformation )
  75. throws RepositoryAdminException
  76. {
  77. }
  78. @Override
  79. public void removeFileType( String fileTypeId, AuditInformation auditInformation )
  80. throws RepositoryAdminException
  81. {
  82. }
  83. @Override
  84. public void addKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
  85. throws RepositoryAdminException
  86. {
  87. }
  88. @Override
  89. public void setKnownContentConsumers( List<String> knownContentConsumers, AuditInformation auditInformation )
  90. throws RepositoryAdminException
  91. {
  92. }
  93. @Override
  94. public List<String> getKnownContentConsumers()
  95. throws RepositoryAdminException
  96. {
  97. return null;
  98. }
  99. @Override
  100. public void removeKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
  101. throws RepositoryAdminException
  102. {
  103. }
  104. @Override
  105. public void addInvalidContentConsumer( String invalidContentConsumer, AuditInformation auditInformation )
  106. throws RepositoryAdminException
  107. {
  108. }
  109. @Override
  110. public void setInvalidContentConsumers( List<String> invalidContentConsumers, AuditInformation auditInformation )
  111. throws RepositoryAdminException
  112. {
  113. }
  114. @Override
  115. public List<String> getInvalidContentConsumers()
  116. throws RepositoryAdminException
  117. {
  118. return null;
  119. }
  120. @Override
  121. public void removeInvalidContentConsumer( String invalidContentConsumer, AuditInformation auditInformation )
  122. throws RepositoryAdminException
  123. {
  124. }
  125. @Override
  126. public OrganisationInformation getOrganisationInformation()
  127. throws RepositoryAdminException
  128. {
  129. return null;
  130. }
  131. @Override
  132. public void setOrganisationInformation( OrganisationInformation organisationInformation )
  133. throws RepositoryAdminException
  134. {
  135. }
  136. @Override
  137. public UiConfiguration getUiConfiguration()
  138. throws RepositoryAdminException
  139. {
  140. return null;
  141. }
  142. @Override
  143. public void updateUiConfiguration( UiConfiguration uiConfiguration )
  144. throws RepositoryAdminException
  145. {
  146. }
  147. @Override
  148. public NetworkConfiguration getNetworkConfiguration()
  149. throws RepositoryAdminException
  150. {
  151. return null;
  152. }
  153. @Override
  154. public void setNetworkConfiguration( NetworkConfiguration networkConfiguration )
  155. throws RepositoryAdminException
  156. {
  157. }
  158. }