Interface DirectoryCoo
- All Superinterfaces:
BundleableObject,CyberObservableObject,CyberObservableObjectCommonProperties,GenericValidation,SdoDefaultValidator,Serializable,Stix,StixCustomProperties
- All Known Implementing Classes:
Directory
@Immutable
@DefaultTypeValue(value="directory",
groups=DefaultValuesProcessor.class)
public interface DirectoryCoo
extends CyberObservableObject
directory
The Directory Object represents the properties common to a file system directory.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Methods inherited from interface security.whisper.javastix.bundle.BundleableObject
getGranularMarkings, getHydrated, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.coo.CyberObservableObjectCommonProperties
getDefanged, getExtensions, getObservableObjectKey, getTypeMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
getPath
@JsonPropertyDescription("Specifies the path, as originally observed, to the directory on the file system.") String getPath() -
getPathEnc
@JsonPropertyDescription("Specifies the observed encoding for the path.") Optional<@Pattern(regexp="^[a-zA-Z0-9/\\.+_:-]{2,250}$") String> getPathEnc()This value MUST be specified using the corresponding name from the 2013-12-20 revision of the IANA character set registry. -
getCreated
@JsonPropertyDescription("Specifies the date/time the directory was created.") Optional<StixInstant> getCreated() -
getModified
@JsonPropertyDescription("Specifies the date/time the directory was last written to/modified.") Optional<StixInstant> getModified() -
getAccessed
@JsonPropertyDescription("Specifies the date/time the directory was last accessed.") Optional<StixInstant> getAccessed() -
getContainsRefs
-
getId
Deterministically generates the ID for this directory based on its path.- Specified by:
getIdin interfaceBundleableObject- Specified by:
getIdin interfaceCyberObservableObjectCommonProperties
-