public class PodInstanceRequirement
extends java.lang.Object
PodInstance
and the names of tasks that should be launched in it.Modifier and Type | Class and Description |
---|---|
static class |
PodInstanceRequirement.Builder
PodInstanceRequirement builder static inner class. |
Modifier and Type | Method and Description |
---|---|
boolean |
conflictsWith(PodInstanceRequirement podInstanceRequirement)
A PodInstanceRequirement conflictsWith with another it if applies to the same pod instance and some
tasks in that pod.
|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
Returns the map of environment variable names to values that extend the existing environments of tasks in this
pod.
|
java.lang.String |
getName() |
PodInstance |
getPodInstance()
Returns the definition of the pod instance to be created.
|
RecoveryType |
getRecoveryType() |
java.util.Collection<java.lang.String> |
getTasksToLaunch()
Returns the list of tasks to be launched within this pod.
|
int |
hashCode() |
static PodInstanceRequirement.Builder |
newBuilder(PodInstance podInstance,
java.util.Collection<java.lang.String> tasksToLaunch) |
static PodInstanceRequirement.Builder |
newBuilder(PodInstanceRequirement podInstanceRequirement) |
java.lang.String |
toString() |
public static PodInstanceRequirement.Builder newBuilder(PodInstance podInstance, java.util.Collection<java.lang.String> tasksToLaunch)
public static PodInstanceRequirement.Builder newBuilder(PodInstanceRequirement podInstanceRequirement)
public PodInstance getPodInstance()
public java.util.Collection<java.lang.String> getTasksToLaunch()
PodInstance
.public java.util.Map<java.lang.String,java.lang.String> getEnvironment()
public RecoveryType getRecoveryType()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean conflictsWith(PodInstanceRequirement podInstanceRequirement)
podInstanceRequirement
- public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object