Package org.archifacts.core.model
Class Artifact
- java.lang.Object
-
- org.archifacts.core.model.Artifact
-
- All Implemented Interfaces:
Archifact,HasIncomingRelationships,HasOutgoingRelationships,Named
- Direct Known Subclasses:
BuildingBlock,ExternalArtifact,MiscArtifact
public abstract class Artifact extends Object implements Archifact, Named, HasIncomingRelationships, HasOutgoingRelationships
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Optional<ArtifactContainer>getContainer()Set<ArtifactRelationship>getIncomingRelationships()com.tngtech.archunit.core.domain.JavaClassgetJavaClass()StringgetName()Set<ArtifactRelationship>getOutgoingRelationships()inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.archifacts.core.model.HasIncomingRelationships
getIncomingRelationshipsOfRole, getIncomingRelationshipsOfRoles
-
Methods inherited from interface org.archifacts.core.model.HasOutgoingRelationships
getOutgoingRelationshipsOfRole, getOutgoingRelationshipsOfRoles
-
-
-
-
Method Detail
-
getContainer
public Optional<ArtifactContainer> getContainer()
-
getJavaClass
public com.tngtech.archunit.core.domain.JavaClass getJavaClass()
-
getIncomingRelationships
public Set<ArtifactRelationship> getIncomingRelationships()
- Specified by:
getIncomingRelationshipsin interfaceHasIncomingRelationships
-
getOutgoingRelationships
public Set<ArtifactRelationship> getOutgoingRelationships()
- Specified by:
getOutgoingRelationshipsin interfaceHasOutgoingRelationships
-
-