public class StagingRepositoryFeature extends Object implements RepositoryFeature<StagingRepositoryFeature>
Modifier and Type | Field and Description |
---|---|
static String |
STAGING_REPO_POSTFIX |
Constructor and Description |
---|
StagingRepositoryFeature() |
StagingRepositoryFeature(ManagedRepository stagingRepository,
boolean stageRepoNeeded) |
Modifier and Type | Method and Description |
---|---|
StagingRepositoryFeature |
get()
Returns the concrete feature instance.
|
ManagedRepository |
getStagingRepository()
Returns the staging repository, if it exists.
|
boolean |
isStageRepoNeeded()
Returns true, if a staging repository is needed by this repository.
|
void |
setStageRepoNeeded(boolean stageRepoNeeded)
Sets the flag for needed staging repository.
|
void |
setStagingRepository(ManagedRepository stagingRepository)
Sets the staging repository.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, isFeature, isFeature
public static final String STAGING_REPO_POSTFIX
public StagingRepositoryFeature()
public StagingRepositoryFeature(ManagedRepository stagingRepository, boolean stageRepoNeeded)
public StagingRepositoryFeature get()
RepositoryFeature
get
in interface RepositoryFeature<StagingRepositoryFeature>
public ManagedRepository getStagingRepository()
public void setStagingRepository(ManagedRepository stagingRepository)
stagingRepository
- public boolean isStageRepoNeeded()
public void setStageRepoNeeded(boolean stageRepoNeeded)
stageRepoNeeded
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.