Class AbstractTeamSource
- java.lang.Object
-
- net.officefloor.frame.api.team.source.impl.AbstractTeamSource
-
- All Implemented Interfaces:
TeamSource
- Direct Known Subclasses:
AbstractExecutorTeamSource,BackPressureTeamSource,LeaderFollowerTeamSource,OnePersonTeamSource,PassiveTeamSource,StepTeam,ThreadLocalAwareTeamSource,WorkerPerJobTeamSource
public abstract class AbstractTeamSource extends java.lang.Object implements TeamSource
AbstractTeamSource.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAbstractTeamSource.SpecificationContextContext forloadSpecification(SpecificationContext).
-
Constructor Summary
Constructors Constructor Description AbstractTeamSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TeamSourceSpecificationgetSpecification()Obtains the specification for this.protected abstract voidloadSpecification(AbstractTeamSource.SpecificationContext context)Overridden to load specification.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.api.team.source.TeamSource
createTeam
-
-
-
-
Method Detail
-
getSpecification
public TeamSourceSpecification getSpecification()
Description copied from interface:TeamSourceObtains the specification for this.
This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.
- Specified by:
getSpecificationin interfaceTeamSource- Returns:
- Specification of this.
-
loadSpecification
protected abstract void loadSpecification(AbstractTeamSource.SpecificationContext context)
Overridden to load specification.- Parameters:
context-AbstractTeamSource.SpecificationContext.
-
-