Class XygeniApiClient
- java.lang.Object
-
- io.jenkins.plugins.xygeni.services.XygeniApiClient
-
public class XygeniApiClient extends Object
Xygeni platform Jenkins Events api client- Author:
- Victor de la Rosa
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XygeniApiClient
getInstance()
static XygeniApiClient
getInstance(String xygeniUrl, Secret xygeniTokenSecret)
static void
invalidateInstance()
void
sendEvent(XygeniEvent event)
boolean
validateTokenConnection()
boolean
validateXygeniPing()
-
-
-
Method Detail
-
getInstance
public static XygeniApiClient getInstance()
-
getInstance
public static XygeniApiClient getInstance(String xygeniUrl, Secret xygeniTokenSecret)
-
invalidateInstance
public static void invalidateInstance()
-
sendEvent
public void sendEvent(XygeniEvent event)
-
validateXygeniPing
public boolean validateXygeniPing()
-
validateTokenConnection
public boolean validateTokenConnection()
-
-