public class ManagedRepositoryConfiguration extends AbstractRepositoryConfiguration implements Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
blockRedeployments
True if re-deployment of artifacts already in the repository
will be blocked.
|
private int |
daysOlder
The number of days old which will be the basis
for removing a snapshot.
|
private boolean |
deleteReleasedSnapshots
True if the released snapshots are to be removed
from the repo during repository purge.
|
private String |
location
The file system location for this repository.
|
private String |
refreshCronExpression
When to run the refresh task.
|
private boolean |
releases
True if this repository contains release versioned artifacts.
|
private int |
retentionCount
The total count of the artifact to be retained
for each snapshot.
|
private boolean |
scanned
True if this repository should be scanned and processed.
|
private boolean |
skipPackedIndexCreation
True to not generate packed index (note you
won't be able to export your index.
|
private boolean |
snapshots
True if this repository contains snapshot versioned artifacts
|
private boolean |
stageRepoNeeded
Need a staging repository
.
|
Constructor and Description |
---|
ManagedRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getDaysOlder()
Get the number of days old which will be the basis for
removing a snapshot.
|
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.
|
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 |
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 |
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 |
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, hashCode, setDescription, setId, setIndexDir, setLayout, setName
private boolean releases
private boolean blockRedeployments
private boolean snapshots
private boolean scanned
private String refreshCronExpression
private int retentionCount
private int daysOlder
private boolean deleteReleasedSnapshots
private boolean skipPackedIndexCreation
private boolean stageRepoNeeded
public ManagedRepositoryConfiguration()
public int getDaysOlder()
public String getLocation()
public String getRefreshCronExpression()
public int getRetentionCount()
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 setDaysOlder(int daysOlder)
daysOlder
- 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 setScanned(boolean scanned)
scanned
- public void setSkipPackedIndexCreation(boolean skipPackedIndexCreation)
skipPackedIndexCreation
- public void setSnapshots(boolean snapshots)
snapshots
- public void setStageRepoNeeded(boolean stageRepoNeeded)
stageRepoNeeded
- Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.