|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.figure8.join.businessfacades.artifact.DefaultAssemblyManager
public class DefaultAssemblyManager
This is the default implementation of AssemblyManager
| Field Summary | |
|---|---|
protected ArtifactManager |
artifactManager
The ArtifactManager to use |
protected AssemblyDao |
assemblyDao
Assembly data access object |
protected BuildDao |
buildDao
Build data access object |
protected EventPublicationManager |
publicationManager
The EventPublicationManager to use |
| Constructor Summary | |
|---|---|
DefaultAssemblyManager()
Creates a new instance of DefaultAssemblyManager |
|
| Method Summary | |
|---|---|
java.util.List |
getAssemblies(Release release)
Retrieve all assemblies created for specified release |
Assembly |
getAssembly(java.lang.String key)
Retrieve an Assembly using its unique key |
Build |
getBuild(java.lang.String key)
Retrieve a Build using its unique key |
java.util.List |
getBuilds(Release release)
Retrieve all builds created for specified release |
void |
saveAssembly(Assembly assembly,
java.util.List deliverables)
Save a specified assembly (indeed a save or update method) |
void |
saveBuild(Build build,
java.util.List components,
java.util.Map extractedComponents)
Save a Build for a specified release (indeed a create or update method). |
void |
setArtifactManager(ArtifactManager artifactManager)
|
void |
setAssemblyDao(AssemblyDao assemblyDao)
|
void |
setBuildDao(BuildDao buildDao)
|
void |
setEventPublicationManager(EventPublicationManager publicationManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BuildDao buildDao
protected AssemblyDao assemblyDao
protected ArtifactManager artifactManager
protected EventPublicationManager publicationManager
| Constructor Detail |
|---|
public DefaultAssemblyManager()
| Method Detail |
|---|
public void setBuildDao(BuildDao buildDao)
buildDao - A Build data access objectpublic void setAssemblyDao(AssemblyDao assemblyDao)
assemblyDao - A Assembly data access objectpublic void setArtifactManager(ArtifactManager artifactManager)
artifactManager - The ArtifactManager implementation to usepublic void setEventPublicationManager(EventPublicationManager publicationManager)
publicationManager - The EventPublicationManager implementation to use
public void saveAssembly(Assembly assembly,
java.util.List deliverables)
throws DuplicateEntityException
saveAssembly in interface AssemblyManagerassembly - The assembly to save within datastoredeliverables - A list of deliverables composing the assembly to create
DuplicateEntityException - if another assembly with same deliverables already existspublic java.util.List getAssemblies(Release release)
getAssemblies in interface AssemblyManagerrelease - The release to get assemblies for
org.figure8.join.businessobjects.artifact.Assembly objectspublic Assembly getAssembly(java.lang.String key)
getAssembly in interface AssemblyManagerkey - The unique key of assembly to retrieve
public void saveBuild(Build build,
java.util.List components,
java.util.Map extractedComponents)
throws DuplicateEntityException
saveBuild in interface AssemblyManagerbuild - The build to save within datastore.components - A list of Components composing the build to createextractedComponents - A map representing components to extract from an assembly.
Key of map entry is a component type and value is the assembly to extract this component from.
DuplicateEntityException - if another build with same component already existspublic java.util.List getBuilds(Release release)
getBuilds in interface AssemblyManagerrelease - The release to get builds for
org.figure8.join.businessobjects.artifact.Build objectspublic Build getBuild(java.lang.String key)
getBuild in interface AssemblyManagerkey - The unique key of build to retrieve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||