Package uk.co.ractf.polaris.apiclient
Class PolarisAPIClient
- java.lang.Object
-
- uk.co.ractf.polaris.apiclient.PolarisAPIClient
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceCreateCommandcreateNamespace(uk.co.ractf.polaris.api.namespace.Namespace namespace)TaskCreateCommandcreateTask(uk.co.ractf.polaris.api.task.Task task)NamespaceDeleteCommanddeleteNamespace(java.lang.String id)TaskDeleteCommanddeleteTask(java.lang.String taskId)TaskDeleteCommanddeleteTask(uk.co.ractf.polaris.api.namespace.NamespacedId namespacedId)NamespaceGetCommandgetNamespace(java.lang.String id)TaskGetCommandgetTask(java.lang.String taskId)TaskGetCommandgetTask(uk.co.ractf.polaris.api.namespace.NamespacedId namespacedId)NamespaceListCommandlistNamespaces()TaskListCommandlistTasks()PingCommandping()NamespaceUpdateCommandupdateNamespace(uk.co.ractf.polaris.api.namespace.Namespace namespace)TaskUpdateCommandupdateTask(uk.co.ractf.polaris.api.task.Task task)
-
-
-
Method Detail
-
ping
public PingCommand ping()
-
createTask
public TaskCreateCommand createTask(uk.co.ractf.polaris.api.task.Task task)
- Specified by:
createTaskin interfaceAPIClient
-
updateTask
public TaskUpdateCommand updateTask(uk.co.ractf.polaris.api.task.Task task)
- Specified by:
updateTaskin interfaceAPIClient
-
listTasks
public TaskListCommand listTasks()
-
getTask
public TaskGetCommand getTask(uk.co.ractf.polaris.api.namespace.NamespacedId namespacedId)
-
getTask
public TaskGetCommand getTask(java.lang.String taskId)
-
deleteTask
public TaskDeleteCommand deleteTask(uk.co.ractf.polaris.api.namespace.NamespacedId namespacedId)
- Specified by:
deleteTaskin interfaceAPIClient
-
deleteTask
public TaskDeleteCommand deleteTask(java.lang.String taskId)
- Specified by:
deleteTaskin interfaceAPIClient
-
createNamespace
public NamespaceCreateCommand createNamespace(uk.co.ractf.polaris.api.namespace.Namespace namespace)
- Specified by:
createNamespacein interfaceAPIClient
-
updateNamespace
public NamespaceUpdateCommand updateNamespace(uk.co.ractf.polaris.api.namespace.Namespace namespace)
- Specified by:
updateNamespacein interfaceAPIClient
-
listNamespaces
public NamespaceListCommand listNamespaces()
- Specified by:
listNamespacesin interfaceAPIClient
-
getNamespace
public NamespaceGetCommand getNamespace(java.lang.String id)
- Specified by:
getNamespacein interfaceAPIClient
-
deleteNamespace
public NamespaceDeleteCommand deleteNamespace(java.lang.String id)
- Specified by:
deleteNamespacein interfaceAPIClient
-
-