You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the MonitorableJob class we have an enum listing the types of monitorable jobs. However monitorable jobs are all represented by subclasses of the MonitorableJob class. This enum is redundant. Each subclass should either override a function returning a unique string, or (perhaps better) the shared superclass should just define a public function returning the simple class name so it's visible when the instances are serialized to JSON.
The text was updated successfully, but these errors were encountered:
In the MonitorableJob class we have an enum listing the types of monitorable jobs. However monitorable jobs are all represented by subclasses of the MonitorableJob class. This enum is redundant. Each subclass should either override a function returning a unique string, or (perhaps better) the shared superclass should just define a public function returning the simple class name so it's visible when the instances are serialized to JSON.
The text was updated successfully, but these errors were encountered: