public class AssetManagerFactoryImpl extends Object implements AssetManagerFactory
AssetManagerFactory
implementation.Constructor and Description |
---|
AssetManagerFactoryImpl(OfficeManager officeManager)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
AssetManager |
createAssetManager(OfficeFloorIssues.AssetType assetType,
String assetName,
String responsibility,
OfficeFloorIssues issues)
Creates the
AssetManager . |
public AssetManagerFactoryImpl(OfficeManager officeManager)
officeManager
- OfficeManager
to register the created
AssetManager
instances.public AssetManager createAssetManager(OfficeFloorIssues.AssetType assetType, String assetName, String responsibility, OfficeFloorIssues issues)
AssetManagerFactory
AssetManager
.createAssetManager
in interface AssetManagerFactory
assetType
- OfficeFloorIssues.AssetType
.assetName
- Name of the Asset
.responsibility
- Responsibility of the AssetManager
for the
Asset
.issues
- OfficeFloorIssues
.AssetManager
or null
if AssetManager
already created for the Asset
with
OfficeFloorIssues
informed.Copyright © 2005–2016. All rights reserved.