Uses of Class
com.mayam.wf.ws.client.TasksClient
Package
Description
This package provides a client for the Mayam Tasks Webservices.
-
Uses of TasksClient in com.mayam.wf.ws.client
Modifier and TypeMethodDescriptionstatic TasksClient
TasksClient.createTaskClient()
Creates a client using manual dependency injection.TasksClient.enableExpirationScheduler()
Creates a connection pool monitoring thread which closes connections that have expired, leaving room for new connections.final TasksClient
It's recommended to usesetup(URL, String, String, String)
insteadfinal TasksClient
Connects a client to the Mayam end-points by providing their shared base URL, typicallyhttp://mayam:8084/tasks-ws
.final TasksClient
TasksClient.setup
(URL baseUrl, String apiToken, String appName, String appVersion, boolean noConnectionPool) Internal use only for now.Modifier and TypeMethodDescriptionstatic void
TasksTest.createAssetTest
(TasksClient client, AssetType item, String[] args) static AttributeMap
TasksTest.getAssetTest
(TasksClient client, AssetType assetType, String id)