Class LocalPurgeHistorical


  • public class LocalPurgeHistorical
    extends Object
    The class that is in charge of taking the different information provided by the user through the command-line and actually executing the local purge.
    • Constructor Detail

      • LocalPurgeHistorical

        public LocalPurgeHistorical​(PurgeHistoricalUserData uData,
                                    ConsoleApplication app,
                                    ProgressMessageFormatter formatter,
                                    String configFile)
        The default constructor.
        Parameters:
        uData - the object containing the information provided by the user.
        app - the console application that is used to write the progress and error messages.
        formatter - the formatter to be used to generated the messages.
        configFile - the file that contains the configuration. This is required to initialize properly the server.
    • Method Detail

      • execute

        public ReplicationCliReturnCode execute()
        Executes the purge historical operation locally.
        Returns:
        the result code.