de.matthias_burbach.deputy.core.repository
Class RepositoryConfig

java.lang.Object
  extended byde.matthias_burbach.deputy.core.repository.RepositoryConfig

public class RepositoryConfig
extends java.lang.Object

Holds configuration about a Maven repository to be used by Deputy.

Author:
Matthias Burbach

Constructor Summary
RepositoryConfig(java.lang.String path)
          Constructs a repository config.
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.String getPath()
           
 boolean isToBeScannedForVersions()
           
 void setDisplayName(java.lang.String displayName)
           
 void setPath(java.lang.String path)
           
 void setToBeScannedForVersions(boolean toBeScannedForVersions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryConfig

public RepositoryConfig(java.lang.String path)
Constructs a repository config.

Parameters:
path - The absolute file system path to the repository.
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Returns:
The name of the repository for display purposes.

setDisplayName

public void setDisplayName(java.lang.String displayName)
Parameters:
displayName - The name of the repository for display purposes.

getPath

public java.lang.String getPath()
Returns:
The absolute file system path to the repository.

setPath

public void setPath(java.lang.String path)
Parameters:
path - The absolute file system path to the repository.

isToBeScannedForVersions

public boolean isToBeScannedForVersions()
Returns:
Whether to scan this repository for all available versions when applying the rules. If set to false the versions to consider for an artifact will be restricted to what is reachable in the dependency graph that roots in the current top project.

setToBeScannedForVersions

public void setToBeScannedForVersions(boolean toBeScannedForVersions)
Parameters:
toBeScannedForVersions - Whether to scan this repository for all available versions when applying the rules. If set to false the versions to consider for an artifact will be restricted to what is reachable in the dependency graph that roots in the current top project.


Copyright © 2005-2007 . All Rights Reserved.