public class ManagedRepository extends AbstractRepository implements Serializable
Constructor and Description |
---|
ManagedRepository() |
ManagedRepository(Locale defaultLocale) |
ManagedRepository(Locale defaultLocale,
String id,
String name,
String location,
String layout,
boolean snapshots,
boolean releases,
boolean blockRedeployments,
String cronExpression,
String indexDir,
boolean scanned,
int retentionPeriod,
int retentionCount,
boolean deleteReleasedSnapshots,
boolean stageRepoNeeded) |
ManagedRepository(Locale defaultLocale,
String id,
String name,
String location,
String layout,
boolean snapshots,
boolean releases,
boolean blockRedeployments,
String cronExpression,
String indexDir,
boolean scanned,
int retentionPeriod,
int retentionCount,
boolean deleteReleasedSnapshots,
boolean stageRepoNeeded,
String description,
boolean skipPackedIndexCreation) |
Modifier and Type | Method and Description |
---|---|
String |
getCronExpression() |
String |
getLocation() |
int |
getRetentionCount() |
int |
getRetentionPeriod() |
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 |
setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots) |
void |
setLocation(String location) |
void |
setReleases(boolean releases) |
void |
setResetStats(boolean resetStats) |
void |
setRetentionCount(int retentionCount) |
void |
setRetentionPeriod(int periodInDays) |
void |
setScanned(boolean scanned) |
void |
setSkipPackedIndexCreation(boolean skipPackedIndexCreation) |
void |
setSnapshots(boolean snapshots) |
void |
setStageRepoNeeded(boolean stageRepoNeeded) |
void |
setStagingRepository(ManagedRepository stagingRepository) |
String |
toString() |
equals, getDescription, getDescriptions, getId, getIndexDirectory, getLayout, getName, getNames, getPackedIndexDirectory, getType, hashCode, setDescription, setDescription, setId, setIndexDirectory, setLayout, setName, setName, setPackedIndexDirectory, setType
public ManagedRepository()
public ManagedRepository(Locale defaultLocale)
public ManagedRepository(Locale defaultLocale, String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int retentionPeriod, int retentionCount, boolean deleteReleasedSnapshots, boolean stageRepoNeeded)
public ManagedRepository(Locale defaultLocale, String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int retentionPeriod, 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 getRetentionPeriod()
public void setRetentionPeriod(int periodInDays)
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–2019 The Apache Software Foundation. All rights reserved.