Package net.officefloor.compile.team
Interface TeamLoader
-
- All Known Implementing Classes:
TeamLoaderImpl
public interface TeamLoaderLoads theTeamTypefrom 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.OfficeFloorTeamSourceTypeloadOfficeFloorTeamSourceType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)Loads and returns theOfficeFloorTeamSourceType.<TS extends TeamSource>
PropertyListloadSpecification(java.lang.Class<TS> teamSourceClass)PropertyListloadSpecification(TeamSource teamSource)<TS extends TeamSource>
TeamTypeloadTeamType(java.lang.String teamName, java.lang.Class<TS> teamSourceClass, PropertyList propertyList)Loads and returns theTeamTypesourced from theTeamSource.TeamTypeloadTeamType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)Loads and returns theTeamTypesourced from theTeamSource.
-
-
-
Method Detail
-
loadSpecification
<TS extends TeamSource> PropertyList loadSpecification(java.lang.Class<TS> teamSourceClass)
- Type Parameters:
TS-TeamSourcetype.- Parameters:
teamSourceClass- Class of theTeamSource.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadSpecification
PropertyList loadSpecification(TeamSource teamSource)
- Parameters:
teamSource-TeamSourceinstance.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif 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 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
TeamType loadTeamType(java.lang.String teamName, TeamSource teamSource, PropertyList propertyList)
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(java.lang.String teamName, java.lang.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(java.lang.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.
-
-