public class LiveModifiableJobCallbackFactory extends java.lang.Object implements CallbackAddonFactory
Constructor and Description |
---|
LiveModifiableJobCallbackFactory() |
Modifier and Type | Method and Description |
---|---|
Callback |
createCallback(java.lang.String typeIdentifier,
YouScopeClient client,
YouScopeServer server)
Returns a new measurement callback for the given type identifier.
|
java.lang.String[] |
getSupportedTypeIdentifiers()
Returns a list of all callback type identifiers supported by this factory.
|
boolean |
isSupportingTypeIdentifier(java.lang.String typeIdentifier)
Returns true if this factory supports callback with the given type identifier, false otherwise.
|
public java.lang.String[] getSupportedTypeIdentifiers()
CallbackAddonFactory
getSupportedTypeIdentifiers
in interface CallbackAddonFactory
public boolean isSupportingTypeIdentifier(java.lang.String typeIdentifier)
CallbackAddonFactory
isSupportingTypeIdentifier
in interface CallbackAddonFactory
typeIdentifier
- The ID of the callback type for which it should be queried if this factory supports its construction.public Callback createCallback(java.lang.String typeIdentifier, YouScopeClient client, YouScopeServer server) throws CallbackCreationException
CallbackAddonFactory
createCallback
in interface CallbackAddonFactory
typeIdentifier
- The ID for which a callback should be created.client
- Interface to allow the addon to communicate with the client.server
- Interface to the server.CallbackCreationException
- Thrown if callback type identifier is not supported by this factory, or if any general error occurred during the callback creation.