Package net.officefloor.compile
Interface TeamSourceService<S extends TeamSource>
-
- All Known Implementing Classes:
OnePersonTeamSourceService
,PassiveTeamSourceService
,ThreadLocalAwareTeamSourceService
,WorkerPerJobTeamSourceService
public interface TeamSourceService<S extends TeamSource>
Service to plug-in an
TeamSource
Class
alias by including the extensionTeamSource
jar on the class path.OfficeFloorCompiler.addTeamSourceAlias(String, Class)
will be invoked for each foundTeamSourceService
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getTeamSourceAlias()
Obtains the alias for theTeamSource
Class
.java.lang.Class<S>
getTeamSourceClass()
Obtains theTeamSource
Class
.
-
-
-
Method Detail
-
getTeamSourceAlias
java.lang.String getTeamSourceAlias()
Obtains the alias for theTeamSource
Class
.- Returns:
- Alias for the
TeamSource
Class
.
-
getTeamSourceClass
java.lang.Class<S> getTeamSourceClass()
Obtains theTeamSource
Class
.- Returns:
TeamSource
Class
.
-
-