class Build::ProvisionNode

Attributes

arguments[R]
chain[R]
environment[R]
provision[R]

Public Class Methods

new(chain, provision, environment, arguments) click to toggle source
Calls superclass method
# File lib/build/provision_node.rb, line 27
def initialize(chain, provision, environment, arguments)
        @chain = chain
        @provision = provision
        @environment = environment
        @arguments = arguments
        
        # Wait here, for all dependent targets, to be done:
        super(Files::List::NONE, :inherit)
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method
# File lib/build/provision_node.rb, line 42
def == other
        super and
                @chain == other.chain and
                @provision == other.provision and
                @environment == other.environment and
                @arguments == other.arguments
end
dependency_node_for(dependency) click to toggle source
# File lib/build/provision_node.rb, line 62
def dependency_node_for(dependency)
        DependencyNode.new(@chain, dependency, @environment, @arguments)
end
hash() click to toggle source
Calls superclass method
# File lib/build/provision_node.rb, line 50
def hash
        super ^ @chain.hash ^ @provision.hash ^ @environment.hash ^ @arguments.hash
end
name() click to toggle source
# File lib/build/provision_node.rb, line 58
def name
        @provision.name
end
task_class(parent_task) click to toggle source
# File lib/build/provision_node.rb, line 54
def task_class(parent_task)
        ProvisionTask
end