Class PassiveTeamSource
- java.lang.Object
-
- net.officefloor.frame.api.team.source.impl.AbstractTeamSource
-
- net.officefloor.frame.impl.spi.team.PassiveTeamSource
-
- All Implemented Interfaces:
TeamSource
public class PassiveTeamSource extends AbstractTeamSource
TeamSource
for thePassiveTeamSource.PassiveTeam
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.frame.api.team.source.impl.AbstractTeamSource
AbstractTeamSource.SpecificationContext
-
-
Constructor Summary
Constructors Constructor Description PassiveTeamSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Team
createPassiveTeam()
Convenience method to create the passiveTeam
.Team
createTeam(TeamSourceContext context)
Creates theTeam
.protected void
loadSpecification(AbstractTeamSource.SpecificationContext context)
Overridden to load specification.-
Methods inherited from class net.officefloor.frame.api.team.source.impl.AbstractTeamSource
getSpecification
-
-
-
-
Method Detail
-
createPassiveTeam
public static Team createPassiveTeam()
Convenience method to create the passiveTeam
.- Returns:
- Passive
Team
.
-
loadSpecification
protected void loadSpecification(AbstractTeamSource.SpecificationContext context)
Description copied from class:AbstractTeamSource
Overridden to load specification.- Specified by:
loadSpecification
in classAbstractTeamSource
- Parameters:
context
-AbstractTeamSource.SpecificationContext
.
-
createTeam
public Team createTeam(TeamSourceContext context) throws java.lang.Exception
Description copied from interface:TeamSource
Creates theTeam
.- Parameters:
context
-TeamSourceContext
.- Returns:
Team
.- Throws:
java.lang.Exception
- If fails to configure theTeamSource
.
-
-