public class ManagedRepositoryConfiguration extends AbstractRepositoryConfiguration implements Serializable
Constructor and Description |
---|
ManagedRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getLocation()
Get the file system location for this repository.
|
String |
getRefreshCronExpression()
Get when to run the refresh task.
|
int |
getRetentionCount()
Get the total count of the artifact to be retained for each
snapshot.
|
int |
getRetentionPeriod()
Get the number of days after which snapshots will be
removed.
|
boolean |
isBlockRedeployments()
Get true if re-deployment of artifacts already in the
repository will be blocked.
|
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 |
isSkipPackedIndexCreation()
Get true to not generate packed index (note you won't be
able to export your index.
|
boolean |
isSnapshots()
Get true if this repository contains snapshot versioned
artifacts.
|
boolean |
isStageRepoNeeded()
Get need a staging repository.
|
void |
setBlockRedeployments(boolean blockRedeployments)
Set true if re-deployment of artifacts already in the
repository will be blocked.
|
void |
setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
Set true if the released snapshots are to be removed from
the repo during repository purge.
|
void |
setLocation(String location)
Set the file system location for this repository.
|
void |
setRefreshCronExpression(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 |
setRetentionPeriod(int retentionPeriod)
Set the number of days after which snapshots will be
removed.
|
void |
setScanned(boolean scanned)
Set true if this repository should be scanned and processed.
|
void |
setSkipPackedIndexCreation(boolean skipPackedIndexCreation)
Set true to not generate packed index (note you won't be
able to export your index.
|
void |
setSnapshots(boolean snapshots)
Set true if this repository contains snapshot versioned
artifacts.
|
void |
setStageRepoNeeded(boolean stageRepoNeeded)
Set need a staging repository.
|
equals, getDescription, getId, getIndexDir, getLayout, getName, getPackedIndexDir, getType, hashCode, setDescription, setId, setIndexDir, setLayout, setName, setPackedIndexDir, setType
public ManagedRepositoryConfiguration()
public String getLocation()
public String getRefreshCronExpression()
public int getRetentionCount()
public int getRetentionPeriod()
public boolean isBlockRedeployments()
public boolean isDeleteReleasedSnapshots()
public boolean isReleases()
public boolean isScanned()
public boolean isSkipPackedIndexCreation()
public boolean isSnapshots()
public boolean isStageRepoNeeded()
public void setBlockRedeployments(boolean blockRedeployments)
blockRedeployments
- public void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
deleteReleasedSnapshots
- public void setLocation(String location)
location
- public void setRefreshCronExpression(String refreshCronExpression)
refreshCronExpression
- public void setReleases(boolean releases)
releases
- public void setRetentionCount(int retentionCount)
retentionCount
- public void setRetentionPeriod(int retentionPeriod)
retentionPeriod
- public void setScanned(boolean scanned)
scanned
- public void setSkipPackedIndexCreation(boolean skipPackedIndexCreation)
skipPackedIndexCreation
- public void setSnapshots(boolean snapshots)
snapshots
- public void setStageRepoNeeded(boolean stageRepoNeeded)
stageRepoNeeded
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.