Package org.wso2.carbon.deployment.synchronizer.internal.util

## Class RepositoryReferenceHolder

- java.lang.Object
- - org.wso2.carbon.deployment.synchronizer.internal.util.RepositoryReferenceHolder

-     public final class RepositoryReferenceHolder
      extends Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addRepository​(ArtifactRepository repositoryType, List<RepositoryConfigParameter> parameters)` |
    `static RepositoryReferenceHolder` | `getInstance()` |
    `Map<ArtifactRepository,​List<RepositoryConfigParameter>>` | `getRepositories()` |
    `ArtifactRepository` | `getRepositoryByType​(String repositoryType)` |
    `void` | `removeRepository​(ArtifactRepository repositoryType)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static RepositoryReferenceHolder getInstance()

    - #### getRepositories

          public Map<ArtifactRepository,​List<RepositoryConfigParameter>> getRepositories()

    - #### addRepository

          public void addRepository​(ArtifactRepository repositoryType,
                                    List<RepositoryConfigParameter> parameters)

    - #### removeRepository

          public void removeRepository​(ArtifactRepository repositoryType)

    - #### getRepositoryByType

          public ArtifactRepository getRepositoryByType​(String repositoryType)