org.apache.maven.archiva.configuration
Class ManagedRepositoryConfiguration

Package class diagram package ManagedRepositoryConfiguration
java.lang.Object
  extended by org.apache.maven.archiva.configuration.AbstractRepositoryConfiguration
      extended by org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
V1RepositoryConfiguration

public class ManagedRepositoryConfiguration
extends AbstractRepositoryConfiguration
implements java.io.Serializable

Class ManagedRepositoryConfiguration.

See Also:
Serialized Form

Constructor Summary
ManagedRepositoryConfiguration()
           
 
Method Summary
 int getDaysOlder()
          Get The number of days old which will be the basis for removing a snapshot.
 java.lang.String getIndexDir()
          Get The directory for the indexes of this repository.
 java.lang.String getLocation()
          Get The file system location for this repository.
 java.lang.String getRefreshCronExpression()
          Get When to run the refresh task.
 int getRetentionCount()
          Get The total count of the artifact to be retained for each snapshot.
 boolean isDeleteReleasedSnapshots()
          Get True if the released snapshots are to be removed from the repo during repository purge.
 boolean isReleases()
          Get true if this repository contains release versioned artifacts.
 boolean isScanned()
          Get true if this repository should be scanned and processed.
 boolean isSnapshots()
          Get true if this repository contains snapshot versioned artifacts.
 void setDaysOlder(int daysOlder)
          Set The number of days old which will be the basis for removing a snapshot.
 void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
          Set True if the released snapshots are to be removed from the repo during repository purge.
 void setIndexDir(java.lang.String indexDir)
          Set The directory for the indexes of this repository.
 void setLocation(java.lang.String location)
          Set The file system location for this repository.
 void setRefreshCronExpression(java.lang.String refreshCronExpression)
          Set When to run the refresh task.
 void setReleases(boolean releases)
          Set true if this repository contains release versioned artifacts.
 void setRetentionCount(int retentionCount)
          Set The total count of the artifact to be retained for each snapshot.
 void setScanned(boolean scanned)
          Set true if this repository should be scanned and processed.
 void setSnapshots(boolean snapshots)
          Set true if this repository contains snapshot versioned artifacts.
 
Methods inherited from class org.apache.maven.archiva.configuration.AbstractRepositoryConfiguration
getId, getLayout, getName, setId, setLayout, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedRepositoryConfiguration

public ManagedRepositoryConfiguration()
Method Detail

getDaysOlder

public int getDaysOlder()
Get The number of days old which will be the basis for removing a snapshot.

Returns:
int

getIndexDir

public java.lang.String getIndexDir()
Get The directory for the indexes of this repository.

Returns:
String

getLocation

public java.lang.String getLocation()
Get The file system location for this repository.

Returns:
String

getRefreshCronExpression

public java.lang.String getRefreshCronExpression()
Get When to run the refresh task. Default is every hour .

Returns:
String

getRetentionCount

public int getRetentionCount()
Get The total count of the artifact to be retained for each snapshot.

Returns:
int

isDeleteReleasedSnapshots

public boolean isDeleteReleasedSnapshots()
Get True if the released snapshots are to be removed from the repo during repository purge.

Returns:
boolean

isReleases

public boolean isReleases()
Get true if this repository contains release versioned artifacts.

Returns:
boolean

isScanned

public boolean isScanned()
Get true if this repository should be scanned and processed.

Returns:
boolean

isSnapshots

public boolean isSnapshots()
Get true if this repository contains snapshot versioned artifacts.

Returns:
boolean

setDaysOlder

public void setDaysOlder(int daysOlder)
Set The number of days old which will be the basis for removing a snapshot.

Parameters:
daysOlder -

setDeleteReleasedSnapshots

public void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
Set True if the released snapshots are to be removed from the repo during repository purge.

Parameters:
deleteReleasedSnapshots -

setIndexDir

public void setIndexDir(java.lang.String indexDir)
Set The directory for the indexes of this repository.

Parameters:
indexDir -

setLocation

public void setLocation(java.lang.String location)
Set The file system location for this repository.

Parameters:
location -

setRefreshCronExpression

public void setRefreshCronExpression(java.lang.String refreshCronExpression)
Set When to run the refresh task. Default is every hour .

Parameters:
refreshCronExpression -

setReleases

public void setReleases(boolean releases)
Set true if this repository contains release versioned artifacts.

Parameters:
releases -

setRetentionCount

public void setRetentionCount(int retentionCount)
Set The total count of the artifact to be retained for each snapshot.

Parameters:
retentionCount -

setScanned

public void setScanned(boolean scanned)
Set true if this repository should be scanned and processed.

Parameters:
scanned -

setSnapshots

public void setSnapshots(boolean snapshots)
Set true if this repository contains snapshot versioned artifacts.

Parameters:
snapshots -