Package org.openquark.samples.bam.model

Examples of org.openquark.samples.bam.model.MonitorJobDescription


        RandomMessageSourceDescription messageSourceDescription = new RandomMessageSourceDescription (name);
       
        Collection<MessagePropertyDescription> messagePropertyInfos = messageSourceDescription.getMessagePropertyDescriptions();
       
        if (messagePropertyInfos != null) {
            MonitorJobDescription jobDescription = new MonitorJobDescription (messageSourceDescription);
           
            document.addJobDescription(jobDescription);
        } else {
            JOptionPane.showMessageDialog(this, "Cannot retrieve message properties for random message source.", "BAM Sample", JOptionPane.ERROR_MESSAGE);
           
View Full Code Here


        TextFileMessageSourceDescription messageSourceDescription = new TextFileMessageSourceDescription (name, filename);
       
        Collection<MessagePropertyDescription> messagePropertyInfos = messageSourceDescription.getMessagePropertyDescriptions();
       
        if (messagePropertyInfos != null) {
            MonitorJobDescription jobDescription = new MonitorJobDescription (messageSourceDescription);
           
            document.addJobDescription(jobDescription);
        } else {
            JOptionPane.showMessageDialog(this, "The file <" + filename + "> is not a valid message file.", "BAM Sample", JOptionPane.ERROR_MESSAGE);
           
View Full Code Here

TOP

Related Classes of org.openquark.samples.bam.model.MonitorJobDescription

Copyright © 2018 www.massapicom. 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.