Class: Waterworks::HadoopActivity
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::HadoopActivity
- Defined in:
- lib/waterworks/activities/hadoop_activity.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ HadoopActivity
constructor
A new instance of HadoopActivity.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ HadoopActivity
Returns a new instance of HadoopActivity.
40 41 42 |
# File 'lib/waterworks/activities/hadoop_activity.rb', line 40 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'HadoopActivity') end |
Class Method Details
.safe_fields ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/waterworks/activities/hadoop_activity.rb', line 5 def self.safe_fields { argument: :string, attemptStatus: :string, attemptTimeout: :string, dependsOn: :ref, failureAndRerunMode: :string, hadoopQueue: :string, input: :ref, lateAfterTimeout: :string, mainClass: :string, maxActiveInstances: :string, maximumRetries: :string, onFail: :ref, onLateAction: :ref, onSuccess: :ref, output: :ref, parent: :ref, pipelineLogUri: :string, postActivityTaskConfig: :ref, preActivityTaskConfig: :ref, precondition: :ref, reportProgressTimeout: :string, retryDelay: :string, scheduleType: :string, jarUri: :string, schedule: :ref, runsOn: :ref, workerGroup: :string, type: :string, }.merge superclass.safe_fields end |