abstract class Molinillo::DependencyGraph::Action(P, R)
- Molinillo::DependencyGraph::Action(P, R)
- Reference
- Object
Overview
An action that modifies a {DependencyGraph} that is reversible. @abstract
Direct Known Subclasses
- Molinillo::DependencyGraph::AddEdgeNoCircular(P, R)
- Molinillo::DependencyGraph::AddVertex(P, R)
- Molinillo::DependencyGraph::DeleteEdge(P, R)
- Molinillo::DependencyGraph::DetachVertexNamed(P, R)
- Molinillo::DependencyGraph::SetPayload(P, R)
- Molinillo::DependencyGraph::Tag(P, R)
Defined in:
molinillo/dependency_graph/action.crInstance Method Summary
-
#down(graph : DependencyGraph(P, R))
Reverses the action on the given graph.
-
#next : Action(P, R) | Nil
@return [Action,Nil] The next action
-
#next=(next __arg0 : Action(P, R) | Nil)
@return [Action,Nil] The next action
-
#previous : Action(P, R) | Nil
@return [Action,Nil] The previous action
-
#previous=(previous : Action(P, R) | Nil)
@return [Action,Nil] The previous action
-
#up(graph : DependencyGraph(P, R))
Performs the action on the given graph.
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]
@return [Action,Nil] The previous action
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]