Class: Actions::Pulp3::OrphanCleanup::DeleteOrphanAlternateContentSources
- Inherits:
-
AbstractAsyncTask
show all
- Defined in:
- app/lib/actions/pulp3/orphan_cleanup/delete_orphan_alternate_content_sources.rb
Instance Method Summary
collapse
#cancel, #cancel!, #combined_tasks, #done?, #external_task, #humanized_state, #new_or_existing_objects, #pulp_tasks, #rescue_external_task, #run, #task_groups
Methods inherited from Abstract
#smart_proxy
Instance Method Details
#invoke_external_task ⇒ Object
9
10
11
12
|
# File 'app/lib/actions/pulp3/orphan_cleanup/delete_orphan_alternate_content_sources.rb', line 9
def invoke_external_task
smart_proxy_service = ::Katello::Pulp3::SmartProxyRepository.instance_for_type(smart_proxy)
smart_proxy_service.delete_orphan_alternate_content_sources
end
|
#plan(smart_proxy) ⇒ Object
5
6
7
|
# File 'app/lib/actions/pulp3/orphan_cleanup/delete_orphan_alternate_content_sources.rb', line 5
def plan(smart_proxy)
plan_self(:smart_proxy_id => smart_proxy.id)
end
|