Class PublishExecutor

    • Constructor Detail

      • PublishExecutor

        public PublishExecutor()
    • Method Detail

      • edit

        public void edit​(IRuntimeComponent webExtension,
                         WebServer webServer,
                         Publication publication,
                         String name)
                  throws WebServerAccessException
        Description copied from interface: IPublishExecutor
        Edits publication on the web server. Searches publication by the given name. If not exists on the server, then do nothing.

        Overwrite old publication properties to the new values from the given publication.

        Specified by:
        edit in interface IPublishExecutor
        webServer - the web server to publish to, cannot be null
        publication - the publication that contains new values for overwriting, cannot be null
        name - the name of publication for editing, cannot be null or empty
        Throws:
        WebServerAccessException - if editing fails