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

null

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 getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
           
 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.


getIndexDir

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


getLocation

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


getRefreshCronExpression

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


getRetentionCount

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


isDeleteReleasedSnapshots

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


isReleases

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


isScanned

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


isSnapshots

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


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 -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class AbstractRepositoryConfiguration

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class AbstractRepositoryConfiguration