Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Done
-
scheduled_task 0.3
-
None
-
- Above methods are removed from TaskScheduler2 class
- Adapter classes access methods on the @definition object directly where it makes sense
- Existing tests are sufficient
-
Windows
-
1
-
Windows 2018-08-08
-
Needs Assessment
Description
There are a number of methods that don't provide any utility in taskscheduler2.rb
These are methods like:
- def self.principal(definition)
- def self.compatibility(definition)
- def self.set_compatibility(definition, value)
- def self.action_count(definition)
- def self.create_action(definition, action_type)
- def self.trigger_count(definition)
Given these methods all take the definition object, and provide little more than a light wrapper around it, they aren't particularly useful and additional layering to the class structure that is not necessary.
Attachments
Issue Links
- blocks
-
MODULES-7444 scheduled_task : Merge V1 and V2 adapter code into unified adaper
-
- Closed
-
- is blocked by
-
MODULES-7420 scheduled_task : Remove flags code
-
- Resolved
-