public ContainerStateBuilder(){ this(new ContainerState()); } public ContainerStateBuilder( ContainerStateFluent<?> fluent ){
public ContainerStateBuilder(){ this(new ContainerState()); } public ContainerStateBuilder( ContainerStateFluent<?> fluent ){
public ContainerStateBuilder(Boolean validationEnabled){ this(new ContainerState(), validationEnabled); } public ContainerStateBuilder(ContainerStateFluent<?> fluent){
public ContainerStateBuilder( ContainerStateFluent<?> fluent ){ this(fluent, new ContainerState()); } public ContainerStateBuilder( ContainerStateFluent<?> fluent , ContainerState instance ){
public ContainerStateBuilder( ContainerStateFluent<?> fluent ){ this(fluent, new ContainerState()); } public ContainerStateBuilder( ContainerStateFluent<?> fluent , ContainerState instance ){
public ContainerStateBuilder(ContainerStateFluent<?> fluent,Boolean validationEnabled){ this(fluent, new ContainerState(), validationEnabled); } public ContainerStateBuilder(ContainerStateFluent<?> fluent,ContainerState instance){
/** * Returns the containers state, lazily creating any objects if required. */ public static ContainerState getOrCreateContainerState(Pod pod, String containerName) { ContainerStatus containerInfo = getOrCreateContainerInfo(pod, containerName); ContainerState state = containerInfo.getState(); if (state == null) { state = new ContainerState(); containerInfo.setState(state); } return state; }
public ContainerState build(){ ContainerState buildable = new ContainerState(fluent.getRunning(),fluent.getTerminated(),fluent.getWaiting()); validate(buildable); return buildable; }
public ContainerState build(){ ContainerState buildable = new ContainerState(fluent.getRunning(),fluent.getTermination(),fluent.getWaiting()); validate(buildable); return buildable; }