Class Lifecycle

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<LifecycleBuilder>, KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Lifecycle
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<LifecycleBuilder>, KubernetesResource
    Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
    See Also:
    Serialized Form
    • Constructor Detail

      • Lifecycle

        public Lifecycle()
        No args constructor for use in serialization
    • Method Detail

      • getPostStart

        public LifecycleHandler getPostStart()
        Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
      • setPostStart

        public void setPostStart​(LifecycleHandler postStart)
        Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
      • getPreStop

        public LifecycleHandler getPreStop()
        Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
      • setPreStop

        public void setPreStop​(LifecycleHandler preStop)
        Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)