abstract class Molinillo::DependencyGraph::Action(P, R)

Overview

An action that modifies a {DependencyGraph} that is reversible. @abstract

Direct Known Subclasses

Defined in:

molinillo/dependency_graph/action.cr

Instance Method Summary

Instance Method Detail

abstract def down(graph : DependencyGraph(P, R)) #

Reverses the action on the given graph. @param [DependencyGraph] graph the graph to reverse the action on. @return [Void]


[View source]
def next : Action(P, R) | Nil #

@return [Action,Nil] The next action


[View source]
def next=(next __arg0 : Action(P, R) | Nil) #

@return [Action,Nil] The next action


[View source]
def previous : Action(P, R) | Nil #

@return [Action,Nil] The previous action


[View source]
def previous=(previous : Action(P, R) | Nil) #

@return [Action,Nil] The previous action


[View source]
abstract def up(graph : DependencyGraph(P, R)) #

Performs the action on the given graph. @param [DependencyGraph] graph the graph to perform the action on. @return [Void]


[View source]