Interface Deployment


public interface Deployment
A deployment of an application
Author:
bratseth
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Activates this deployment.
    void
    Prepares activation of this deployment.
    void
    Request a restart of services of this application on hosts matching the filter.
  • Method Details

    • prepare

      void prepare()
      Prepares activation of this deployment. This will do all validation and preparatory steps in the system such that a subsequent activation should be fast and error free.
    • activate

      long activate()
      Activates this deployment. This will prepare it if necessary.
      Returns:
      the application config generation that became active by this invocation
    • restart

      void restart(HostFilter filter)
      Request a restart of services of this application on hosts matching the filter. This is sometimes needed after activation, but can also be requested without doing prepare and activate in the same session.