Package net.officefloor.compile.team
Interface TeamLoader
-
- All Known Implementing Classes:
TeamLoaderImpl
public interface TeamLoader
Loads theTeamType
from theTeamSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <TS extends TeamSource>
OfficeFloorTeamSourceTypeloadOfficeFloorTeamSourceType(java.lang.String teamName, java.lang.Class<TS> teamSourceClass, PropertyList propertyList)
Loads and returns theOfficeFloorTeamSourceType
.OfficeFloorTeamSourceType
loadOfficeFloorTeamSourceType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)
Loads and returns theOfficeFloorTeamSourceType
.<TS extends TeamSource>
PropertyListloadSpecification(java.lang.Class<TS> teamSourceClass)
PropertyList
loadSpecification(TeamSource teamSource)
<TS extends TeamSource>
TeamTypeloadTeamType(java.lang.String teamName, java.lang.Class<TS> teamSourceClass, PropertyList propertyList)
Loads and returns theTeamType
sourced from theTeamSource
.TeamType
loadTeamType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)
Loads and returns theTeamType
sourced from theTeamSource
.
-
-
-
Method Detail
-
loadSpecification
<TS extends TeamSource> PropertyList loadSpecification(java.lang.Class<TS> teamSourceClass)
- Type Parameters:
TS
-TeamSource
type.- Parameters:
teamSourceClass
- Class of theTeamSource
.- Returns:
PropertyList
of theTeamSourceProperty
instances of theTeamSourceSpecification
ornull
if issues, which are reported to theCompilerIssues
.
-
loadSpecification
PropertyList loadSpecification(TeamSource teamSource)
- Parameters:
teamSource
-TeamSource
instance.- Returns:
PropertyList
of theTeamSourceProperty
instances of theTeamSourceSpecification
ornull
if issues, which are reported to theCompilerIssues
.
-
loadTeamType
<TS extends TeamSource> TeamType loadTeamType(java.lang.String teamName, java.lang.Class<TS> teamSourceClass, PropertyList propertyList)
Loads and returns theTeamType
sourced from theTeamSource
.- Type Parameters:
TS
-TeamSource
type.- Parameters:
teamName
- Name of theTeam
.teamSourceClass
- Class of theTeamSource
.propertyList
-PropertyList
containing the properties to source theTeamType
.- Returns:
TeamType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadTeamType
TeamType loadTeamType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)
Loads and returns theTeamType
sourced from theTeamSource
.- Parameters:
teamName
- Name of theTeam
.teamSource
-TeamSource
instance.propertyList
-PropertyList
containing the properties to source theTeamType
.- Returns:
TeamType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadOfficeFloorTeamSourceType
<TS extends TeamSource> OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(java.lang.String teamName, java.lang.Class<TS> teamSourceClass, PropertyList propertyList)
Loads and returns theOfficeFloorTeamSourceType
.- Type Parameters:
TS
-TeamSource
type.- Parameters:
teamName
- Name of theTeam
.teamSourceClass
- Class of theTeamSource
.propertyList
-PropertyList
for configuring theTeamSource
.- Returns:
OfficeFloorTeamSourceType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadOfficeFloorTeamSourceType
OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)
Loads and returns theOfficeFloorTeamSourceType
.- Parameters:
teamName
- Name of theTeam
.teamSource
-TeamSource
instance.propertyList
-PropertyList
for configuring theTeamSource
.- Returns:
OfficeFloorTeamSourceType
ornull
if issues, which are reported to theCompilerIssues
.
-
-