Package net.officefloor.compile.team
Interface TeamLoader
- All Known Implementing Classes:
TeamLoaderImpl
public interface TeamLoader
Loads the
TeamType from the TeamSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<TS extends TeamSource>
OfficeFloorTeamSourceTypeloadOfficeFloorTeamSourceType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Loads and returns theOfficeFloorTeamSourceType.loadOfficeFloorTeamSourceType(String teamName, TeamSource teamSource, PropertyList propertyList) Loads and returns theOfficeFloorTeamSourceType.<TS extends TeamSource>
PropertyListloadSpecification(Class<TS> teamSourceClass) loadSpecification(TeamSource teamSource) <TS extends TeamSource>
TeamTypeloadTeamType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Loads and returns theTeamTypesourced from theTeamSource.loadTeamType(String teamName, TeamSource teamSource, PropertyList propertyList) Loads and returns theTeamTypesourced from theTeamSource.
-
Method Details
-
loadSpecification
- Type Parameters:
TS-TeamSourcetype.- Parameters:
teamSourceClass- Class of theTeamSource.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadSpecification
- Parameters:
teamSource-TeamSourceinstance.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadTeamType
<TS extends TeamSource> TeamType loadTeamType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Loads and returns theTeamTypesourced from theTeamSource.- Type Parameters:
TS-TeamSourcetype.- Parameters:
teamName- Name of theTeam.teamSourceClass- Class of theTeamSource.propertyList-PropertyListcontaining the properties to source theTeamType.- Returns:
TeamTypeornullif issues, which are reported to theCompilerIssues.
-
loadTeamType
Loads and returns theTeamTypesourced from theTeamSource.- Parameters:
teamName- Name of theTeam.teamSource-TeamSourceinstance.propertyList-PropertyListcontaining the properties to source theTeamType.- Returns:
TeamTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeFloorTeamSourceType
<TS extends TeamSource> OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Loads and returns theOfficeFloorTeamSourceType.- Type Parameters:
TS-TeamSourcetype.- Parameters:
teamName- Name of theTeam.teamSourceClass- Class of theTeamSource.propertyList-PropertyListfor configuring theTeamSource.- Returns:
OfficeFloorTeamSourceTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeFloorTeamSourceType
OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(String teamName, TeamSource teamSource, PropertyList propertyList) Loads and returns theOfficeFloorTeamSourceType.- Parameters:
teamName- Name of theTeam.teamSource-TeamSourceinstance.propertyList-PropertyListfor configuring theTeamSource.- Returns:
OfficeFloorTeamSourceTypeornullif issues, which are reported to theCompilerIssues.
-