public class ManagedRepository extends AbstractRepository implements Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
blockRedeployments |
private String |
cronExpression
default model value hourly
|
private int |
daysOlder
default model value
|
private boolean |
deleteReleasedSnapshots |
private String |
location |
private boolean |
releases |
private boolean |
resetStats |
private int |
retentionCount
default model value
|
private boolean |
scanned |
private boolean |
skipPackedIndexCreation |
private boolean |
snapshots |
private boolean |
stageRepoNeeded |
private ManagedRepository |
stagingRepository
not need when creating the repo : only available when reading
|
Constructor and Description |
---|
ManagedRepository() |
ManagedRepository(String id,
String name,
String location,
String layout,
boolean snapshots,
boolean releases,
boolean blockRedeployments,
String cronExpression,
String indexDir,
boolean scanned,
int daysOlder,
int retentionCount,
boolean deleteReleasedSnapshots,
boolean stageRepoNeeded) |
ManagedRepository(String id,
String name,
String location,
String layout,
boolean snapshots,
boolean releases,
boolean blockRedeployments,
String cronExpression,
String indexDir,
boolean scanned,
int daysOlder,
int retentionCount,
boolean deleteReleasedSnapshots,
boolean stageRepoNeeded,
String description,
boolean skipPackedIndexCreation) |
Modifier and Type | Method and Description |
---|---|
String |
getCronExpression() |
int |
getDaysOlder() |
String |
getLocation() |
int |
getRetentionCount() |
ManagedRepository |
getStagingRepository() |
boolean |
isBlockRedeployments() |
boolean |
isDeleteReleasedSnapshots() |
boolean |
isReleases() |
boolean |
isResetStats() |
boolean |
isScanned() |
boolean |
isSkipPackedIndexCreation() |
boolean |
isSnapshots()
Get null
|
boolean |
isStageRepoNeeded() |
void |
setBlockRedeployments(boolean blockRedeployments) |
void |
setCronExpression(String cronExpression) |
void |
setDaysOlder(int daysOlder) |
void |
setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots) |
void |
setLocation(String location) |
void |
setReleases(boolean releases) |
void |
setResetStats(boolean resetStats) |
void |
setRetentionCount(int retentionCount) |
void |
setScanned(boolean scanned) |
void |
setSkipPackedIndexCreation(boolean skipPackedIndexCreation) |
void |
setSnapshots(boolean snapshots) |
void |
setStageRepoNeeded(boolean stageRepoNeeded) |
void |
setStagingRepository(ManagedRepository stagingRepository) |
String |
toString() |
equals, getDescription, getId, getIndexDirectory, getLayout, getName, hashCode, setDescription, setId, setIndexDirectory, setLayout, setName
private boolean snapshots
private boolean releases
private boolean blockRedeployments
private String cronExpression
private ManagedRepository stagingRepository
private boolean scanned
private int daysOlder
private int retentionCount
private boolean deleteReleasedSnapshots
private boolean stageRepoNeeded
private boolean resetStats
private boolean skipPackedIndexCreation
public ManagedRepository()
public ManagedRepository(String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int daysOlder, int retentionCount, boolean deleteReleasedSnapshots, boolean stageRepoNeeded)
public ManagedRepository(String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int daysOlder, int retentionCount, boolean deleteReleasedSnapshots, boolean stageRepoNeeded, String description, boolean skipPackedIndexCreation)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public String getLocation()
public boolean isReleases()
public boolean isSnapshots()
public void setReleases(boolean releases)
public void setSnapshots(boolean snapshots)
public void setLocation(String location)
public boolean isBlockRedeployments()
public void setBlockRedeployments(boolean blockRedeployments)
public ManagedRepository getStagingRepository()
public void setStagingRepository(ManagedRepository stagingRepository)
public boolean isScanned()
public void setScanned(boolean scanned)
public int getDaysOlder()
public void setDaysOlder(int daysOlder)
public int getRetentionCount()
public void setRetentionCount(int retentionCount)
public boolean isDeleteReleasedSnapshots()
public void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
public boolean isStageRepoNeeded()
public void setStageRepoNeeded(boolean stageRepoNeeded)
public boolean isResetStats()
public void setResetStats(boolean resetStats)
public boolean isSkipPackedIndexCreation()
public void setSkipPackedIndexCreation(boolean skipPackedIndexCreation)
public String toString()
toString
in class AbstractRepository
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.