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 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. public List<LegacyArtifactPath> getLegacyArtifactPaths()
  36. throws RepositoryAdminException
  37. {
  38. return null;
  39. }
  40. public void addLegacyArtifactPath( LegacyArtifactPath legacyArtifactPath, AuditInformation auditInformation )
  41. throws RepositoryAdminException
  42. {
  43. }
  44. public void deleteLegacyArtifactPath( String path, AuditInformation auditInformation )
  45. throws RepositoryAdminException
  46. {
  47. }
  48. public void addFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
  49. throws RepositoryAdminException
  50. {
  51. }
  52. public void removeFileTypePattern( String fileTypeId, String pattern, AuditInformation auditInformation )
  53. throws RepositoryAdminException
  54. {
  55. }
  56. public List<FileType> getFileTypes()
  57. throws RepositoryAdminException
  58. {
  59. return null;
  60. }
  61. public FileType getFileType( String fileTypeId )
  62. throws RepositoryAdminException
  63. {
  64. return null;
  65. }
  66. public void addFileType( FileType fileType, AuditInformation auditInformation )
  67. throws RepositoryAdminException
  68. {
  69. }
  70. public void removeFileType( String fileTypeId, AuditInformation auditInformation )
  71. throws RepositoryAdminException
  72. {
  73. }
  74. public void addKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
  75. throws RepositoryAdminException
  76. {
  77. }
  78. public void setKnownContentConsumers( List<String> knownContentConsumers, AuditInformation auditInformation )
  79. throws RepositoryAdminException
  80. {
  81. }
  82. public List<String> getKnownContentConsumers()
  83. throws RepositoryAdminException
  84. {
  85. return null;
  86. }
  87. public void removeKnownContentConsumer( String knownContentConsumer, AuditInformation auditInformation )
  88. throws RepositoryAdminException
  89. {
  90. }
  91. public void addInvalidContentConsumer( String invalidContentConsumer, AuditInformation auditInformation )
  92. throws RepositoryAdminException
  93. {
  94. }
  95. public void setInvalidContentConsumers( List<String> invalidContentConsumers, AuditInformation auditInformation )
  96. throws RepositoryAdminException
  97. {
  98. }
  99. public List<String> getInvalidContentConsumers()
  100. throws RepositoryAdminException
  101. {
  102. return null;
  103. }
  104. public void removeInvalidContentConsumer( String invalidContentConsumer, AuditInformation auditInformation )
  105. throws RepositoryAdminException
  106. {
  107. }
  108. public OrganisationInformation getOrganisationInformation()
  109. throws RepositoryAdminException
  110. {
  111. return null;
  112. }
  113. public void setOrganisationInformation( OrganisationInformation organisationInformation )
  114. throws RepositoryAdminException
  115. {
  116. }
  117. public UiConfiguration getUiConfiguration()
  118. throws RepositoryAdminException
  119. {
  120. return null;
  121. }
  122. public void updateUiConfiguration( UiConfiguration uiConfiguration )
  123. throws RepositoryAdminException
  124. {
  125. }
  126. public NetworkConfiguration getNetworkConfiguration()
  127. throws RepositoryAdminException
  128. {
  129. return null;
  130. }
  131. public void setNetworkConfiguration( NetworkConfiguration networkConfiguration )
  132. throws RepositoryAdminException
  133. {
  134. }
  135. }