Base feature type (override callbacks to implement behavior).
No-op init callback.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| type(watch_config_t), | intent(in) | :: | cfg |
No-op callback invoked after executing the command.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | exitstat | |||
| real, | intent(in) | :: | seconds |
No-op callback invoked just before executing the command.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| character(len=:), | intent(inout), | allocatable | :: | cmd |
No-op callback for detected file changes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| type(string_t), | intent(in), | allocatable | :: | changed(:) |
No-op callback for manifest key change.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| integer(kind=int64), | intent(in) | :: | old_key | |||
| integer(kind=int64), | intent(in) | :: | new_key |
No-op start callback.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self |
No-op callback for watch list rebuild completion.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(watch_feature_t), | intent(inout) | :: | self | |||
| type(string_t), | intent(inout), | allocatable | :: | files(:) | ||
| type(root_info_t), | intent(inout), | allocatable | :: | roots(:) |
type watch_feature_t contains procedure :: init => feat_init_noop procedure :: on_start => feat_noop procedure :: on_watch_list_built => feat_list_noop procedure :: on_manifest_changed => feat_manifest_noop procedure :: on_change_detected => feat_change_noop procedure :: on_before_run => feat_before_noop procedure :: on_after_run => feat_after_noop end type watch_feature_t