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.

RepositoryCheckPath.java 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package org.apache.archiva.configuration;
  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. /**
  21. * Class RepositoryCheckPath.
  22. *
  23. * @version $Revision$ $Date$
  24. */
  25. @SuppressWarnings( "all" )
  26. public class RepositoryCheckPath
  27. implements java.io.Serializable
  28. {
  29. //--------------------------/
  30. //- Class/Member Variables -/
  31. //--------------------------/
  32. /**
  33. *
  34. * The URL for which this path should be used
  35. * .
  36. */
  37. private String url;
  38. /**
  39. *
  40. * The path to use for checking the repository
  41. * connection.
  42. *
  43. */
  44. private String path;
  45. //-----------/
  46. //- Methods -/
  47. //-----------/
  48. /**
  49. * Get the path to use for checking the repository connection.
  50. *
  51. * @return String
  52. */
  53. public String getPath()
  54. {
  55. return this.path;
  56. } //-- String getPath()
  57. /**
  58. * Get the URL for which this path should be used.
  59. *
  60. * @return String
  61. */
  62. public String getUrl()
  63. {
  64. return this.url;
  65. } //-- String getUrl()
  66. /**
  67. * Set the path to use for checking the repository connection.
  68. *
  69. * @param path
  70. */
  71. public void setPath( String path )
  72. {
  73. this.path = path;
  74. } //-- void setPath( String )
  75. /**
  76. * Set the URL for which this path should be used.
  77. *
  78. * @param url
  79. */
  80. public void setUrl( String url )
  81. {
  82. this.url = url;
  83. } //-- void setUrl( String )
  84. }