Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class ResourceAssignment
- Object
- ResourceAssignment
How much of a resource a task uses while it runs.
Constructors
public ResourceAssignment(String resourceId, float units) | units of 1 is the whole of one resource for the length of the task. |
Methods
public String getResourceId() | |
public float getUnits() |
Inherited methods
Constructor details
ResourceAssignment
public ResourceAssignment(String resourceId, float units)units of 1 is the whole of one resource for the length of the task.Method details
getResourceId
public String getResourceId()getUnits
public float getUnits()