Class Repository

java.lang.Object
org.fedoraproject.xmvn.config.Repository

public class Repository extends Object
Artifact repository.
Author:
Mikolaj Izdebski
  • Constructor Details

    • Repository

      public Repository()
  • Method Details

    • addProperty

      public void addProperty(String key, String value)
      Method addProperty.
      Parameters:
      key - a key object.
      value - a value object.
    • getConfiguration

      public Element getConfiguration()
      Get arbitrary XML used to configure structure of the repository. Configuration can be freely used by the implementation, so their exact meaning depends on repository type. See documentation for repository types to see the format of supported configuration (if any).
      Returns:
      Object
    • getFilter

      public Element getFilter()
      Get a boolean expression describing which artifacts can be stored in this repository.
      Returns:
      Object
    • getId

      public String getId()
      Get unique string identifying this repository.
      Returns:
      String
    • getProperties

      public Properties getProperties()
      Method getProperties.
      Returns:
      Properties
    • getType

      public String getType()
      Get role hint of Plexus component implementing the repository.
      Returns:
      String
    • setConfiguration

      public void setConfiguration(Element configuration)
      Set arbitrary XML used to configure structure of the repository. Configuration can be freely used by the implementation, so their exact meaning depends on repository type. See documentation for repository types to see the format of supported configuration (if any).
      Parameters:
      configuration - a configuration object.
    • setFilter

      public void setFilter(Element filter)
      Set a boolean expression describing which artifacts can be stored in this repository.
      Parameters:
      filter - a filter object.
    • setId

      public void setId(String id)
      Set unique string identifying this repository.
      Parameters:
      id - a id object.
    • setProperties

      public void setProperties(Properties properties)
      Set properties associated with this repository. Properties can be freely used by the implementation, so their exact meaning depends on repository type. See documentation for repository types to see list of supported properties.
      Parameters:
      properties - a properties object.
    • setType

      public void setType(String type)
      Set role hint of Plexus component implementing the repository.
      Parameters:
      type - a type object.