Sha256: a21bdca4bfb86e9d2cd11aa942e94abdba66636132eb5ba0bd526972b55f0204
Contents?: true
Size: 900 Bytes
Versions: 23
Compression:
Stored size: 900 Bytes
Contents
module Logical::Naf::ConstructionZone class AdHocWorkOrder < WorkOrder def initialize(*parameters) maybe_hash = parameters.first if maybe_hash.is_a?(Hash) super(maybe_hash[:command], maybe_hash[:application_type] || ::Naf::ApplicationType.rails, maybe_hash[:application_run_group_restriction] || ::Naf::ApplicationRunGroupRestriction.limited_per_all_machines, maybe_hash[:application_run_group_name] || :command, maybe_hash[:application_run_group_limit] || 1, maybe_hash[:priority] || 0, maybe_hash[:affinities] || [], maybe_hash[:prerequisites] || [], maybe_hash[:enqueue_backlogs] || false, maybe_hash[:application] || nil, maybe_hash[:application_schedule] || nil) else super(*parameters) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems