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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe ID for the task.The URI path to poll for the status of the task.inthashCode()voidThe ID for the task.voidsetUriPath(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, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods 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:
getUriPathin interfaceTaskToken- Returns:
- uriPath
-
setTaskId
Description copied from interface:TaskTokenThe ID for the task. Used to find the status of the task.
-
setUriPath
Description copied from interface:TaskTokenThe URI path to poll for the status of the task.
- Specified by:
setUriPathin interfaceTaskToken- Parameters:
uriPath- value to be set
-
equals
-
hashCode
public int hashCode()
-