Class RebuildEntityManagerFactoriesStepExecutable

  • All Implemented Interfaces:
    java.io.Serializable, IDeploymentStepExecutable, IStepExecutable

    public class RebuildEntityManagerFactoriesStepExecutable
    extends java.lang.Object
    implements IDeploymentStepExecutable
    Step executable that sends a cluster command to rebuild entity manager factories if needed.
    Since:
    7.1.0
    Version:
    $Revision: 18135 $ $Date: 2015-12-15 17:31:03 -0200 (Tue, 15 Dec 2015) $
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(IStep step)
      Executes the step code.
      java.lang.String getDescription()
      Returns the description of the step.
      java.lang.String getMessage()
      Returns the message of the step.
      boolean isMandatory()
      Indicates whether the step is mandatory.
      void stepIgnored​(IStep step)
      Callback invoked when the step is ignored.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RebuildEntityManagerFactoriesStepExecutable

        public RebuildEntityManagerFactoriesStepExecutable​(java.util.Set<IModule> modulesAffected,
                                                           java.lang.String moduleId,
                                                           java.lang.String packageId,
                                                           ModuleDiff diff)
        Creates a new instance.
        Parameters:
        moduleId - the deployed module id.
        packageId - the deployed package name.
        Since:
        7.1.0
    • Method Detail

      • 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