Package io.jenkins.plugins.catlight
Interface CatlightServiceClient
-
- All Known Implementing Classes:
CatlightServiceClientImpl
public interface CatlightServiceClient
CatLight service client api
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyAboutEntityChange(String teamIds, String jobUri)
Notify the service about changed job statusvoid
setAcceleratedNotifications(String spaceUri, String teamIds, Boolean notificationsEnabled)
Configure CatLight service to wait for notification instead of using polling
-
-
-
Method Detail
-
notifyAboutEntityChange
void notifyAboutEntityChange(String teamIds, String jobUri) throws URISyntaxException, IOException, InterruptedException
Notify the service about changed job status- Parameters:
teamIds
- comma-separated list of team guidsjobUri
- job uri- Throws:
URISyntaxException
IOException
InterruptedException
-
setAcceleratedNotifications
void setAcceleratedNotifications(String spaceUri, String teamIds, Boolean notificationsEnabled) throws URISyntaxException, IOException, InterruptedException
Configure CatLight service to wait for notification instead of using polling- Parameters:
spaceUri
- CatLight space uriteamIds
- comma-separated list of team guidsnotificationsEnabled
- enable or disable notification processing- Throws:
URISyntaxException
IOException
InterruptedException
-
-