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 interface
AbstractTeamSource.SpecificationContext
Context forloadSpecification(SpecificationContext)
.
-
Constructor Summary
Constructors Constructor Description AbstractTeamSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TeamSourceSpecification
getSpecification()
Obtains the specification for this.protected abstract void
loadSpecification(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:TeamSource
Obtains 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:
getSpecification
in interfaceTeamSource
- Returns:
- Specification of this.
-
loadSpecification
protected abstract void loadSpecification(AbstractTeamSource.SpecificationContext context)
Overridden to load specification.- Parameters:
context
-AbstractTeamSource.SpecificationContext
.
-
-