Class OfficeFloorMetaDataImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.officefloor.OfficeFloorMetaDataImpl
-
- All Implemented Interfaces:
OfficeFloorMetaData
public class OfficeFloorMetaDataImpl extends java.lang.Object implements OfficeFloorMetaData
OfficeFloorMetaData
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorMetaDataImpl(TeamManagement[] teams, ManagedObjectSourceInstance<?>[][] managedObjectSourceInstances, OfficeMetaData[] officeMetaData, long maxStartupWaitTime)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedObjectSourceInstance<?>[][]
getManagedObjectSourceInstances()
Obtains theManagedObjectSourceInstance
instances contained within theOfficeFloor
.long
getMaxStartupWaitTime()
Obtains the maximum amount of time in milliseconds forOfficeFloor
to start.OfficeMetaData[]
getOfficeMetaData()
TeamManagement[]
getTeams()
-
-
-
Constructor Detail
-
OfficeFloorMetaDataImpl
public OfficeFloorMetaDataImpl(TeamManagement[] teams, ManagedObjectSourceInstance<?>[][] managedObjectSourceInstances, OfficeMetaData[] officeMetaData, long maxStartupWaitTime)
Initiate.- Parameters:
teams
- Listing ofTeamManagement
instances.managedObjectSourceInstances
- Listing ofManagedObjectSourceInstance
instances.officeMetaData
-OfficeMetaData
for theOffice
instances within theOfficeFloor
.maxStartupWaitTime
- Maximum time in milliseconds to wait forOfficeFloor
to start.
-
-
Method Detail
-
getTeams
public TeamManagement[] getTeams()
Description copied from interface:OfficeFloorMetaData
- Specified by:
getTeams
in interfaceOfficeFloorMetaData
- Returns:
TeamManagement
over theTeam
instances of theOfficeFloor
.
-
getOfficeMetaData
public OfficeMetaData[] getOfficeMetaData()
Description copied from interface:OfficeFloorMetaData
- Specified by:
getOfficeMetaData
in interfaceOfficeFloorMetaData
- Returns:
OfficeMetaData
instances.
-
getManagedObjectSourceInstances
public ManagedObjectSourceInstance<?>[][] getManagedObjectSourceInstances()
Description copied from interface:OfficeFloorMetaData
Obtains the
ManagedObjectSourceInstance
instances contained within theOfficeFloor
.They are ordered and grouped for starting. Order follows the first index, while each contained array is grouping to start in parallel.
- Specified by:
getManagedObjectSourceInstances
in interfaceOfficeFloorMetaData
- Returns:
ManagedObjectSourceInstance
instances.
-
getMaxStartupWaitTime
public long getMaxStartupWaitTime()
Description copied from interface:OfficeFloorMetaData
Obtains the maximum amount of time in milliseconds forOfficeFloor
to start.- Specified by:
getMaxStartupWaitTime
in interfaceOfficeFloorMetaData
- Returns:
- Maximum amount of time in milliseconds for
OfficeFloor
to start.
-
-