Package net.officefloor.frame.api.build
Interface DependencyMappingBuilder
- 
- All Known Subinterfaces:
- ThreadDependencyMappingBuilder
 - All Known Implementing Classes:
- DependencyMappingBuilderImpl
 
 public interface DependencyMappingBuilderProvides the mappings of the dependencies of a ManagedObjectto theManagedObjectproviding necessary functionality.This works within the scope of where the ManagedObjectis being added.- Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmapDependency(int index, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor the index identifying the dependency.<O extends java.lang.Enum<O>>
 voidmapDependency(O key, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor the dependency key.voidmapGovernance(java.lang.String governanceName)Specifies theGovernancefor theManagedObject.<E,f extends java.lang.Enum<f>,G extends java.lang.Enum<G>>
 AdministrationBuilder<f,G>preLoadAdminister(java.lang.String administrationName, java.lang.Class<E> extension, AdministrationFactory<E,f,G> administrationFactory)AddsAdministrationto be undertaken before thisManagedObjectis loaded.
 
- 
- 
- 
Method Detail- 
mapDependency<O extends java.lang.Enum<O>> void mapDependency(O key, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor the dependency key.- Type Parameters:
- O- Dependency key type.
- Parameters:
- key- Key of the dependency.
- scopeManagedObjectName- Name of the- ManagedObjectwithin the scope that this- DependencyMappingBuilderwas created.
 
 - 
mapDependencyvoid mapDependency(int index, java.lang.String scopeManagedObjectName)Specifies theManagedObjectfor the index identifying the dependency.- Parameters:
- index- Index identifying the dependency.
- scopeManagedObjectName- Name of the- ManagedObjectwithin the scope that this- DependencyMappingBuilderwas created.
 
 - 
mapGovernancevoid mapGovernance(java.lang.String governanceName) Specifies theGovernancefor theManagedObject.- Parameters:
- governanceName- Name of the- Governancewithin the- Office.
 
 - 
preLoadAdminister<E,f extends java.lang.Enum<f>,G extends java.lang.Enum<G>> AdministrationBuilder<f,G> preLoadAdminister(java.lang.String administrationName, java.lang.Class<E> extension, AdministrationFactory<E,f,G> administrationFactory) AddsAdministrationto be undertaken before thisManagedObjectis loaded.- Type Parameters:
- E- Extension type.
- f-- Flowkey type.
- G-- Governancekey type.
- Parameters:
- administrationName- Name of the- Administration.
- extension- Extension type for- Administration.
- administrationFactory-- AdministrationFactory.
- Returns:
- AdministrationBuilderto build the- Administration.
 
 
- 
 
-