Class EphemeralAgentPodImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.ephemeral.EphemeralAgentPodImpl
-
- All Implemented Interfaces:
EphemeralAgentPod
public class EphemeralAgentPodImpl extends Object implements EphemeralAgentPod
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.agent.ephemeral.EphemeralAgentPod
EphemeralAgentPod.EphemeralAgentPodContainer
-
-
Constructor Summary
Constructors Constructor Description EphemeralAgentPodImpl(@NotNull String name, @NotNull String hostname, @NotNull String podIP, @NotNull Date creationDate, @NotNull PodPhase phase, @NotNull List<EphemeralAgentPod.EphemeralAgentPodContainer> containers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static EphemeralAgentPodImpl
from(PodsDto.PodDto podDto)
@NotNull List<EphemeralAgentPod.EphemeralAgentPodContainer>
getContainers()
List of containers in the pod@NotNull Date
getCreationDate()
Pod's creation date@NotNull String
getHostname()
Pod's hostname@NotNull String
getName()
Pod's name@NotNull PodPhase
getPhase()
Pod's status@NotNull String
getPodIP()
Pod's IPint
hashCode()
String
toString()
-
-
-
Constructor Detail
-
EphemeralAgentPodImpl
public EphemeralAgentPodImpl(@NotNull @NotNull String name, @NotNull @NotNull String hostname, @NotNull @NotNull String podIP, @NotNull @NotNull Date creationDate, @NotNull @NotNull PodPhase phase, @NotNull @NotNull List<EphemeralAgentPod.EphemeralAgentPodContainer> containers)
-
-
Method Detail
-
from
public static EphemeralAgentPodImpl from(@NotNull PodsDto.PodDto podDto)
-
getName
@NotNull public @NotNull String getName()
Description copied from interface:EphemeralAgentPod
Pod's name- Specified by:
getName
in interfaceEphemeralAgentPod
-
getHostname
@NotNull public @NotNull String getHostname()
Description copied from interface:EphemeralAgentPod
Pod's hostname- Specified by:
getHostname
in interfaceEphemeralAgentPod
-
getPodIP
@NotNull public @NotNull String getPodIP()
Description copied from interface:EphemeralAgentPod
Pod's IP- Specified by:
getPodIP
in interfaceEphemeralAgentPod
-
getCreationDate
@NotNull public @NotNull Date getCreationDate()
Description copied from interface:EphemeralAgentPod
Pod's creation date- Specified by:
getCreationDate
in interfaceEphemeralAgentPod
-
getPhase
@NotNull public @NotNull PodPhase getPhase()
Description copied from interface:EphemeralAgentPod
Pod's status- Specified by:
getPhase
in interfaceEphemeralAgentPod
-
getContainers
@NotNull public @NotNull List<EphemeralAgentPod.EphemeralAgentPodContainer> getContainers()
Description copied from interface:EphemeralAgentPod
List of containers in the pod- Specified by:
getContainers
in interfaceEphemeralAgentPod
-
-