Class TeamLoaderImpl
java.lang.Object
net.officefloor.compile.impl.team.TeamLoaderImpl
- All Implemented Interfaces:
TeamLoader,IssueTarget
TeamLoader implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the issue.voidAdds the issue.<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.
-
Constructor Details
-
TeamLoaderImpl
Initiate for building.- Parameters:
node-Noderequiring theTeam.nodeContext-NodeContext.
-
-
Method Details
-
loadSpecification
Description copied from interface:TeamLoader- Specified by:
loadSpecificationin interfaceTeamLoader- Type Parameters:
TS-TeamSourcetype.- Parameters:
teamSourceClass- Class of theTeamSource.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadSpecification
Description copied from interface:TeamLoader- Specified by:
loadSpecificationin interfaceTeamLoader- Parameters:
teamSource-TeamSourceinstance.- Returns:
PropertyListof theTeamSourcePropertyinstances of theTeamSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadTeamType
public <TS extends TeamSource> TeamType loadTeamType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Description copied from interface:TeamLoaderLoads and returns theTeamTypesourced from theTeamSource.- Specified by:
loadTeamTypein interfaceTeamLoader- 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
Description copied from interface:TeamLoaderLoads and returns theTeamTypesourced from theTeamSource.- Specified by:
loadTeamTypein interfaceTeamLoader- Parameters:
teamName- Name of theTeam.teamSource-TeamSourceinstance.propertyList-PropertyListcontaining the properties to source theTeamType.- Returns:
TeamTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeFloorTeamSourceType
public <TS extends TeamSource> OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(String teamName, Class<TS> teamSourceClass, PropertyList propertyList) Description copied from interface:TeamLoaderLoads and returns theOfficeFloorTeamSourceType.- Specified by:
loadOfficeFloorTeamSourceTypein interfaceTeamLoader- 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
public OfficeFloorTeamSourceType loadOfficeFloorTeamSourceType(String teamName, TeamSource teamSource, PropertyList propertyList) Description copied from interface:TeamLoaderLoads and returns theOfficeFloorTeamSourceType.- Specified by:
loadOfficeFloorTeamSourceTypein interfaceTeamLoader- Parameters:
teamName- Name of theTeam.teamSource-TeamSourceinstance.propertyList-PropertyListfor configuring theTeamSource.- Returns:
OfficeFloorTeamSourceTypeornullif issues, which are reported to theCompilerIssues.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.cause- Cause of the issue.
-