Class: CircleCI::Parallel::Task::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/circleci/parallel/task/base.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Direct Known Subclasses

Master, Slave

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node, configuration) ⇒ Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Base.



10
11
12
13
# File 'lib/circleci/parallel/task/base.rb', line 10

def initialize(node, configuration)
  @node = node
  @configuration = configuration
end

Instance Attribute Details

#configurationObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/circleci/parallel/task/base.rb', line 8

def configuration
  @configuration
end

#nodeObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/circleci/parallel/task/base.rb', line 8

def node
  @node
end

Instance Method Details

#runObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/circleci/parallel/task/base.rb', line 15

def run
  raise NotImplementedError
end