Monitors the current state of a resource.
Initializes a new instance of the ResourceMonitor class.
Raised when a message is logged.
Gets the Inedo.Extensibility.SecureResources.SecureResource type that can be monitored by this type.
Returns a user-friendly type display name of the ResourceType.
Gets the ResourceMonitorState type that Inedo.Extensibility.ResourceMonitors.ResourceMonitor.GetCurrentStatesAsync(Inedo.Extensibility.ResourceMonitors.IResourceMonitorContext,System.Threading.CancellationToken) will return.
Returns a friendly description of the monitor and its configuration.
Implementors should inherit from ResourceMonitor<TState, TResource> if a Inedo.Extensibility.SecureResources.SecureResource is consumed.
The monitored resource is generally a Inedo.Extensibility.SecureResources.SecureResource. Existing monitors (implemented inside of BuildMaster) include:
Inedo.Extensibility.Git.GitRepository monitor that uses ResourceMonitorState for latest commits on a specific set of branches
Inedo.Extensibility.CIServers.CIProject monitor that uses ResourceMonitorState for latest build of a certain status and scope
Scheduled job monitor that doesn't monitor a resource, but uses ResourceMonitorState for the last time run