public interface RepositoryStatistics extends MetadataFacet
Modifier and Type | Method and Description |
---|---|
long |
getCustomValue(String fieldName)
Reads custom statistic values that are store implementation
specific.
|
long |
getDuration() |
long |
getNewFileCount() |
String |
getRepositoryId() |
Date |
getScanEndTime() |
Date |
getScanStartTime() |
long |
getTotalArtifactCount() |
long |
getTotalArtifactFileSize() |
Map<String,Long> |
getTotalCountForType()
Statistics data by artifact type.
|
long |
getTotalCountForType(String type)
Returns the value for the given artifact type.
|
long |
getTotalFileCount() |
long |
getTotalGroupCount() |
long |
getTotalProjectCount() |
void |
setCustomValue(String fieldName,
long count)
Saves custom statistic values that are store implementation
specific.
|
void |
setNewFileCount(long newFileCount) |
void |
setTotalArtifactCount(long totalArtifactCount) |
void |
setTotalArtifactFileSize(long totalArtifactFileSize) |
void |
setTotalCountForType(String type,
long count)
Sets the value for the given artifact type.
|
void |
setTotalFileCount(long totalFileCount) |
void |
setTotalGroupCount(long totalGroupCount) |
void |
setTotalProjectCount(long totalProjectCount) |
fromProperties, getFacetId, getName, toProperties
static final String FACET_ID
String getRepositoryId()
Date getScanEndTime()
Date getScanStartTime()
long getTotalArtifactCount()
void setTotalArtifactCount(long totalArtifactCount)
long getTotalArtifactFileSize()
void setTotalArtifactFileSize(long totalArtifactFileSize)
long getTotalFileCount()
void setTotalFileCount(long totalFileCount)
long getTotalGroupCount()
void setTotalGroupCount(long totalGroupCount)
long getTotalProjectCount()
void setTotalProjectCount(long totalProjectCount)
void setNewFileCount(long newFileCount)
long getNewFileCount()
long getDuration()
Map<String,Long> getTotalCountForType()
long getTotalCountForType(String type)
type
- The artifact typevoid setTotalCountForType(String type, long count)
type
- The artifact type.count
- The count value.long getCustomValue(String fieldName)
fieldName
- A unique field name.void setCustomValue(String fieldName, long count)
fieldName
- A unique field name.count
- The statistic counter valueCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.