Package net.officefloor.plugin.team
Class OnePersonTeamSourceService
- java.lang.Object
-
- net.officefloor.plugin.team.OnePersonTeamSourceService
-
- All Implemented Interfaces:
TeamSourceService<OnePersonTeamSource>
,TeamSourceServiceFactory
,ServiceFactory<TeamSourceService<?>>
public class OnePersonTeamSourceService extends java.lang.Object implements TeamSourceService<OnePersonTeamSource>, TeamSourceServiceFactory
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OnePersonTeamSourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamSourceService<?>
createService(ServiceContext context)
Creates the service.java.lang.String
getTeamSourceAlias()
Obtains the alias for theTeamSource
Class
.java.lang.Class<OnePersonTeamSource>
getTeamSourceClass()
Obtains theTeamSource
Class
.
-
-
-
Method Detail
-
createService
public TeamSourceService<?> createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<TeamSourceService<?>>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
getTeamSourceAlias
public java.lang.String getTeamSourceAlias()
Description copied from interface:TeamSourceService
Obtains the alias for theTeamSource
Class
.- Specified by:
getTeamSourceAlias
in interfaceTeamSourceService<OnePersonTeamSource>
- Returns:
- Alias for the
TeamSource
Class
.
-
getTeamSourceClass
public java.lang.Class<OnePersonTeamSource> getTeamSourceClass()
Description copied from interface:TeamSourceService
Obtains theTeamSource
Class
.- Specified by:
getTeamSourceClass
in interfaceTeamSourceService<OnePersonTeamSource>
- Returns:
TeamSource
Class
.
-
-