public interface TeamingAdminService extends TeamConfigurationService
Modifier and Type | Method and Description |
---|---|
void |
addTeamDeletionStateValidator(StateValidator<TeamConfiguration> sv)
Add a state validator.
|
void |
create(TeamConfiguration configuration)
Creates a team.
|
void |
delete()
Deletes a team.
|
void |
removeTeamDeletionStateValidator(StateValidator<TeamConfiguration> sv)
Remove a state validator.
|
getConfiguration, getHeartbeatTimeout, getProperties
void create(TeamConfiguration configuration) throws TeamAlreadyCreatedException
configuration
- configuration to applyNullPointerException
- if configuration
is null
IllegalArgumentException
- if the local node is not part of
configuration
TeamAlreadyCreatedException
- if a team already existsCreateException
- if errors occur while creating the teamvoid delete()
NotFoundException
- if a team does not existsDeleteException
- if errors occur while deleting the teamvoid addTeamDeletionStateValidator(StateValidator<TeamConfiguration> sv)
sv
- state validator to addvoid removeTeamDeletionStateValidator(StateValidator<TeamConfiguration> sv)
sv
- state validator to removeCopyright © 2016. All Rights Reserved.