Package org.archifacts.core.model
Class Application
- java.lang.Object
-
- org.archifacts.core.model.Application
-
- All Implemented Interfaces:
HasArtifacts,HasContainers,HasRelationships
public final class Application extends Object implements HasContainers, HasArtifacts, HasRelationships
Represents the whole application which containsArtifactContainers,ArtifactsandArtifactRelationships. Note: Adding elements is not thread-safe!- Author:
- Oliver Libutzki
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationBuilderbuilder()returns anApplicationBuilderin order to initialze theApplication.Set<Artifact>getArtifacts()Set<ArtifactContainer>getContainers()Set<ArtifactRelationship>getRelationships()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.archifacts.core.model.HasArtifacts
getBuildingBlocks, getBuildingBlocksOfType, getExternalArtifacts, getMiscArtifacts
-
Methods inherited from interface org.archifacts.core.model.HasContainers
getContainersOfType
-
Methods inherited from interface org.archifacts.core.model.HasRelationships
getRelationshipsOfRole
-
-
-
-
Method Detail
-
builder
public static ApplicationBuilder builder()
returns anApplicationBuilderin order to initialze theApplication.- Returns:
- an
ApplicationBuilder
-
getArtifacts
public Set<Artifact> getArtifacts()
- Specified by:
getArtifactsin interfaceHasArtifacts
-
getContainers
public Set<ArtifactContainer> getContainers()
- Specified by:
getContainersin interfaceHasContainers
-
getRelationships
public Set<ArtifactRelationship> getRelationships()
- Specified by:
getRelationshipsin interfaceHasRelationships
-
-