public class ResourceRequirements extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static ResourceRequirements |
create(JobID jobId,
String targetAddress,
Collection<ResourceRequirement> resourceRequirements) |
static ResourceRequirements |
empty(JobID jobId,
String targetAddress) |
boolean |
equals(Object o) |
JobID |
getJobId() |
Collection<ResourceRequirement> |
getResourceRequirements() |
String |
getTargetAddress() |
int |
hashCode() |
String |
toString() |
public JobID getJobId()
public String getTargetAddress()
public Collection<ResourceRequirement> getResourceRequirements()
public static ResourceRequirements create(JobID jobId, String targetAddress, Collection<ResourceRequirement> resourceRequirements)
public static ResourceRequirements empty(JobID jobId, String targetAddress)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.