Enum Class FileDirectoryMetric
java.lang.Object
java.lang.Enum<FileDirectoryMetric>
org.odpi.openmetadata.frameworks.surveyaction.measurements.FileDirectoryMetric
- All Implemented Interfaces:
Serializable
,Comparable<FileDirectoryMetric>
,Constable
,SurveyMetric
FileDirectoryMetric describes the metrics for a directory (folder) that are captured by the Folder Survey Action Service.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNumber of different file asset types detected when classifying the files under the surveyed directory.Number of different file deployed implementation types detected when classifying the files under the surveyed directory.Number of files and directories found under the surveyed that can be executed.Number of files found under the surveyed directory (and all subdirectories).Number of different file extensions found under the surveyed directory.Number of different file names found under the surveyed directory.Number of different file types detected when classifying the files under the surveyed directory.Number of files under the surveyed directory are hidden from standard users.Number of files under the surveyed folder that could not be accessed even to extract their basic properties.The last time that a file was accessed in the surveyed directory (or any subdirectory).The last time that a file was created in the surveyed directory (or any subdirectory).The last time that a file was created in the surveyed directory (or any subdirectory).Number of files and directories found under the surveyed directory.Number of subdirectories found under the surveyed directory.Number of files under the surveyed directory that are symbolic links to files in other locations.Total number of bytes from all files found under the surveyed directory (and all subdirectories).Number of files under the surveyed directory that could not be classified using the existing reference data.Number of files and directories found under the surveyed directory that can be written to. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the data type of the property used to store the measure.Return the description of the metric.Return the name of the metric.static List<FileDirectoryMetric>
Return the defined metrics as a listReturn the property name used to store the measurement.toString()
Output of this enum class and main value.static FileDirectoryMetric
Returns the enum constant of this class with the specified name.static FileDirectoryMetric[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_COUNT
Number of files found under the surveyed directory (and all subdirectories). -
TOTAL_FILE_SIZE
Total number of bytes from all files found under the surveyed directory (and all subdirectories). -
SUB_DIRECTORY_COUNT
Number of subdirectories found under the surveyed directory. -
READABLE_FILE_COUNT
Number of files and directories found under the surveyed directory. -
WRITEABLE_FILE_COUNT
Number of files and directories found under the surveyed directory that can be written to. -
EXECUTABLE_FILE_COUNT
Number of files and directories found under the surveyed that can be executed. -
SYM_LINK_COUNT
Number of files under the surveyed directory that are symbolic links to files in other locations. -
HIDDEN_FILE_COUNT
Number of files under the surveyed directory are hidden from standard users. -
FILE_NAME_COUNT
Number of different file names found under the surveyed directory. -
FILE_EXTENSION_COUNT
Number of different file extensions found under the surveyed directory. -
FILE_TYPE_COUNT
Number of different file types detected when classifying the files under the surveyed directory. -
ASSET_TYPE_COUNT
Number of different file asset types detected when classifying the files under the surveyed directory. -
DEPLOYED_IMPL_TYPE_COUNT
Number of different file deployed implementation types detected when classifying the files under the surveyed directory. -
UNCLASSIFIED_FILE_COUNT
Number of files under the surveyed directory that could not be classified using the existing reference data. -
INACCESSIBLE_FILE_COUNT
Number of files under the surveyed folder that could not be accessed even to extract their basic properties. -
LAST_FILE_CREATION_TIME
The last time that a file was created in the surveyed directory (or any subdirectory). -
LAST_FILE_MODIFIED_TIME
The last time that a file was created in the surveyed directory (or any subdirectory). -
LAST_FILE_ACCESSED_TIME
The last time that a file was accessed in the surveyed directory (or any subdirectory).
-
-
Field Details
-
propertyName
-
dataType
-
displayName
-
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPropertyName
Return the property name used to store the measurement.- Specified by:
getPropertyName
in interfaceSurveyMetric
- Returns:
- name
-
getDataType
Return the data type of the property used to store the measure.- Specified by:
getDataType
in interfaceSurveyMetric
- Returns:
- data type name
-
getDisplayName
Return the name of the metric.- Specified by:
getDisplayName
in interfaceSurveyMetric
- Returns:
- string name
-
getDescription
Return the description of the metric.- Specified by:
getDescription
in interfaceSurveyMetric
- Returns:
- text
-
getMetrics
Return the defined metrics as a list- Returns:
- list
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<FileDirectoryMetric>
- Returns:
- string showing enum value
-