org.axway.grapes.server.core.graphs
Class AbstractGraph

java.lang.Object
  extended by org.axway.grapes.server.core.graphs.AbstractGraph
Direct Known Subclasses:
ModuleGraph

public abstract class AbstractGraph
extends Object


Constructor Summary
AbstractGraph()
           
 
Method Summary
 void addDependency(String sourceId, String targetId, Scope scope)
           
 void addElement(String id, String version, boolean root)
           
 List<GraphDependency> getDependencies()
           
 List<GraphElement> getElements()
           
abstract  String getId(Artifact artifact)
           
abstract  String getId(DbArtifact artifact)
           
abstract  String getId(DbModule module)
           
 boolean isTreated(String elementId)
           
 void setDependencies(List<GraphDependency> dependencies)
           
 void setElements(List<GraphElement> elements)
           
 void treated(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGraph

public AbstractGraph()
Method Detail

getElements

public List<GraphElement> getElements()

setElements

public void setElements(List<GraphElement> elements)

getDependencies

public List<GraphDependency> getDependencies()

setDependencies

public void setDependencies(List<GraphDependency> dependencies)

addElement

public void addElement(String id,
                       String version,
                       boolean root)

addDependency

public void addDependency(String sourceId,
                          String targetId,
                          Scope scope)

isTreated

public boolean isTreated(String elementId)

treated

public void treated(String id)

getId

public abstract String getId(DbModule module)

getId

public abstract String getId(DbArtifact artifact)

getId

public abstract String getId(Artifact artifact)


Copyright © 2014. All Rights Reserved.