Examples of ErrorLogEntry


Examples of com.xmultra.log.ErrorLogEntry

   public boolean init (Node n, InitMapHolder imh, SyncFlag sf, SyncFlag stopFlag) {

       if (!super.init(n, imh, sf, stopFlag)) return false;
       retrySyncFlag = new SyncFlag(false);
       msgEntry = new MessageLogEntry(this, VERSION);
       errEntry = new ErrorLogEntry(this, VERSION);

       // Get the directory to move a file to after processing it.
       srcDoneLocFile = getLocationDirectory(
               XmultraConfig.SRC_DONE_LOCATION_ELEMENT);
       if (srcDoneLocFile == null) return false;
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

        // Get the Logger reference.
        logger = (Logger)initMapHolder.getEntry(InitMapHolder.LOGGER);

        // Create the log entry object.
        errEntry = new ErrorLogEntry(this, VERSION);

        // Get the XmlParseUtils reference.
        this.xmlParseUtils = (XmlParseUtils)initMapHolder.getEntry(
                            InitMapHolder.XML_PARSE_UTILS);
    }
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

        this.destWriter = new DestinationWriter();
        if (!this.destWriter.init(imh, zapEl, new DateUtils())) return false;

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Get the directory to move a file to after processing it. The false passed in below
        // is because a warning is not logged if the SourceDoneLocation element is missing.
        this.srcDoneLocFile = getLocationDirectory(XmultraConfig.SRC_DONE_LOCATION_ELEMENT, false);
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

        if (!super.init(n, imh, sf, stopFlag)) return false;

        Node aProcessorNode = n;

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);
        // Make a Strings instance.
        strings = new Strings();

        // Get the directory where the file to process is found.
        srcLocation = getLocationDirectory(
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

     * @return True if initialization is successful.
     */
    boolean init (NitfProcessorConfig nitfProcessorConfig, InitMapHolder imh)    {

        // Get the Log references.
        this.errEntry = new ErrorLogEntry(this, VERSION);
        this.logger = (Logger)imh.getEntry(InitMapHolder.LOGGER);

        // Get the util references.
        this.strings = (Strings) imh.getEntry(InitMapHolder.STRINGS);

View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

        if (!super.init(n, imh, sf, stopFlag)) {
            return false;
        }
        // Create the log entry objects.
        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Creates a DocMeter that shows average rates over the last 100 docs.

        docMeter = new DocMeter(100);
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

                  InitMapHolder imh,
                  NitfXformerUtils xformerUtils)    {

        // Get the Log references.
        this.msgEntry = new MessageLogEntry(this, VERSION);
        this.errEntry = new ErrorLogEntry(this, VERSION);
        this.logger = (Logger)imh.getEntry(InitMapHolder.LOGGER);

        // Get the util references.
        this.xmlParseUtils = (XmlParseUtils)imh.getEntry(InitMapHolder.XML_PARSE_UTILS);
        this.strings = (Strings) imh.getEntry(InitMapHolder.STRINGS);
View Full Code Here

Examples of com.xmultra.log.ErrorLogEntry

        // Setup logging and utilities.
        xmlParseUtils = (XmlParseUtils) initMapHolder.getEntry(InitMapHolder.
            XML_PARSE_UTILS);

        this.errEntry = new ErrorLogEntry(this, VERSION);
        this.msgEntry = new MessageLogEntry(this, VERSION);
        this.strings = (Strings) initMapHolder.getEntry(InitMapHolder.STRINGS);
        this.logger = (Logger) initMapHolder.getEntry(InitMapHolder.LOGGER);

        // Create & initialize the NitfXformerUtils class.
View Full Code Here

Examples of org.jitterbit.application.errorlog.ErrorLogEntry

*/
abstract class AbstractLastErrorExecutor implements CommandExecutor {

    @Override
    public final void execute(String[] params) throws CommandException {
        ErrorLogEntry entry = ErrorLog.lastError();
        if (entry != null) {
            handle(entry);
        } else {
            NonBlockingAlert.info("No errors have been reported.", "No errors");
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.