public class TaskResult extends Object implements net.idea.restnet.i.task.ITaskResult
Modifier and Type | Field and Description |
---|---|
protected boolean |
newResource |
protected float |
percentCompleted |
protected String |
uri |
Constructor and Description |
---|
TaskResult(String uri) |
TaskResult(String uri,
boolean newResource) |
Modifier and Type | Method and Description |
---|---|
float |
getPercentCompleted() |
List<String> |
getPolicy() |
org.restlet.data.Reference |
getReference() |
String |
getUri() |
boolean |
isNewResource() |
void |
setNewResource(boolean newResource) |
void |
setPercentCompleted(float percentCompleted) |
void |
setUri(String uri) |
String |
toString() |
protected float percentCompleted
protected String uri
protected boolean newResource
public TaskResult(String uri)
public TaskResult(String uri, boolean newResource)
public boolean isNewResource()
isNewResource
in interface net.idea.restnet.i.task.ITaskResult
public void setNewResource(boolean newResource)
public String getUri()
getUri
in interface net.idea.restnet.i.task.ITaskResult
public org.restlet.data.Reference getReference()
getReference
in interface net.idea.restnet.i.task.ITaskResult
public void setUri(String uri)
public float getPercentCompleted()
getPercentCompleted
in interface net.idea.restnet.i.task.ITaskResult
public void setPercentCompleted(float percentCompleted)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.