Class AbstractDeploymentStepExecutable

    • Constructor Detail

      • AbstractDeploymentStepExecutable

        public AbstractDeploymentStepExecutable()
    • Method Detail

      • localize

        public String localize​(String localizableString,
                               String... parameters)
                        throws PortalException
        Localize a string with the given parameters.
        Parameters:
        localizableString - the localizable string.
        parameters - the localization parameters.
        Returns:
        the localized string.
        Throws:
        PortalException
        Since:
        7.1.0
      • getMessageInternal

        protected abstract String getMessageInternal()
                                              throws Throwable
        Returns the message.
        Returns:
        the message.
        Throws:
        Throwable
        Since:
        7.1.0
      • executeInternal

        protected abstract void executeInternal​(IStep step)
                                         throws Throwable
        Executes the step.
        Parameters:
        step - the step.
        Throws:
        Throwable
        Since:
        7.1.0
      • getLogger

        protected abstract ILogger getLogger()
        Returns the logger to be used.
        Returns:
        the logger to be used.
        Since:
        7.1.0
      • getDeploymentMessageWriters

        protected abstract DeploymentMessageWriter[] getDeploymentMessageWriters()
        Returns the deployment message writer to be used.
        Returns:
        the deployment message writer to be used.
        Since:
        10.2.0
      • getDescriptionInternal

        protected abstract String getDescriptionInternal()
                                                  throws Throwable
        Returns the description of this step.
        Returns:
        the description of this step.
        Throws:
        Throwable
        Since:
        7.1.0