Class AbstractDeploymentStepExecutable

    • Constructor Detail

      • AbstractDeploymentStepExecutable

        public AbstractDeploymentStepExecutable()
    • Method Detail

      • localize

        public java.lang.String localize​(java.lang.String localizableString,
                                         java.lang.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
      • execute

        public void execute​(IStep step)
                     throws java.lang.Throwable
        Description copied from interface: IStepExecutable
        Executes the step code.
        Specified by:
        execute in interface IStepExecutable
        Parameters:
        step - the step owner of the executable.
        Throws:
        java.lang.Throwable
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: IStepExecutable
        Returns the description of the step.
        Specified by:
        getDescription in interface IStepExecutable
        Returns:
        the description of the step.
      • getMessage

        public java.lang.String getMessage()
        Description copied from interface: IStepExecutable
        Returns the message of the step.
        Specified by:
        getMessage in interface IStepExecutable
        Returns:
        the message of the step.
      • stepIgnored

        public void stepIgnored​(IStep step)
                         throws java.lang.Throwable
        Description copied from interface: IStepExecutable
        Callback invoked when the step is ignored.
        Specified by:
        stepIgnored in interface IStepExecutable
        Parameters:
        step - the ignored step.
        Throws:
        java.lang.Throwable
      • getMessageInternal

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

        protected abstract void executeInternal​(IStep step)
                                         throws java.lang.Throwable
        Executes the step.
        Parameters:
        step - the step.
        Throws:
        java.lang.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 java.lang.String getDescriptionInternal()
                                                            throws java.lang.Throwable
        Returns the description of this step.
        Returns:
        the description of this step.
        Throws:
        java.lang.Throwable
        Since:
        7.1.0