public class StandardCapabilities extends Object implements RepositoryCapabilities
Constructor and Description |
---|
StandardCapabilities(ReleaseScheme[] supportedReleaseSchemes,
String[] supportedLayouts,
String[] customCapabilities,
String[] supportedFeatures,
boolean indexable,
boolean fileBased,
boolean canBlockRedeployments,
boolean scannable,
boolean allowsFailover) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsFailover()
Returns true, if this repository can use failover repository urls
|
boolean |
canBlockRedeployments()
Returns true, if this repository allows to block redeployments to prevent overriding
released artifacts
|
Set<String> |
customCapabilities()
Returns additional capabilities, that this repository type implements.
|
boolean |
isFileBased()
Returns true, if this repository type is storing its artifacts on the filesystem.
|
boolean |
isIndexable()
Returns true, if this repository has a mechanism for indexes
|
boolean |
isScannable()
Returns true, if the artifacts can be scanned for metadata retrieval or maintenance tasks
|
Set<String> |
supportedFeatures()
Returns the supported features this repository type supports.
|
Set<String> |
supportedLayouts()
Returns the layouts this repository type can provide
|
Set<ReleaseScheme> |
supportedReleaseSchemes()
Returns the release schemes this repository type can handle
|
public StandardCapabilities(ReleaseScheme[] supportedReleaseSchemes, String[] supportedLayouts, String[] customCapabilities, String[] supportedFeatures, boolean indexable, boolean fileBased, boolean canBlockRedeployments, boolean scannable, boolean allowsFailover)
public Set<ReleaseScheme> supportedReleaseSchemes()
RepositoryCapabilities
supportedReleaseSchemes
in interface RepositoryCapabilities
public Set<String> supportedLayouts()
RepositoryCapabilities
supportedLayouts
in interface RepositoryCapabilities
public Set<String> customCapabilities()
RepositoryCapabilities
customCapabilities
in interface RepositoryCapabilities
public Set<String> supportedFeatures()
RepositoryCapabilities
supportedFeatures
in interface RepositoryCapabilities
public boolean isIndexable()
RepositoryCapabilities
isIndexable
in interface RepositoryCapabilities
public boolean isFileBased()
RepositoryCapabilities
isFileBased
in interface RepositoryCapabilities
public boolean canBlockRedeployments()
RepositoryCapabilities
canBlockRedeployments
in interface RepositoryCapabilities
public boolean isScannable()
RepositoryCapabilities
isScannable
in interface RepositoryCapabilities
public boolean allowsFailover()
RepositoryCapabilities
allowsFailover
in interface RepositoryCapabilities
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.