Class TaskTokenImpl
java.lang.Object
com.commercetools.ml.models.common.TaskTokenImpl
- All Implemented Interfaces:
TaskToken
,io.vrap.rmf.base.client.ModelBase
Represents a URL path to poll to get the results of an Asynchronous Request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The ID for the task.The URI path to poll for the status of the task.int
hashCode()
void
The ID for the task.void
setUriPath
(String uriPath) The URI path to poll for the status of the task.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.ml.models.common.TaskToken
withTaskToken
-
Constructor Details
-
TaskTokenImpl
public TaskTokenImpl()create empty instance
-
-
Method Details
-
getTaskId
The ID for the task. Used to find the status of the task.
-
getUriPath
The URI path to poll for the status of the task.
- Specified by:
getUriPath
in interfaceTaskToken
- Returns:
- uriPath
-
setTaskId
Description copied from interface:TaskToken
The ID for the task. Used to find the status of the task.
-
setUriPath
Description copied from interface:TaskToken
The URI path to poll for the status of the task.
- Specified by:
setUriPath
in interfaceTaskToken
- Parameters:
uriPath
- value to be set
-
equals
-
hashCode
-