Package net.gridshield.nexsm.entityclasses

Examples of net.gridshield.nexsm.entityclasses.ConfParam


        if (tag.equals("coords")) { coords = true; }
        if (tag.equals("puller")) { puller = true; putmp = new ConfPuller(); }
        if (tag.equals("pusher")) { pusher = true; pushtmp = new ConfPusher(); }
        if (tag.equals("class")) { sclass = true; }
        if (tag.equals("plugin")) { plugin = true; pltmp = new ConfPlugin(); }
        if (tag.equals("param")) { param = true; patmp = new ConfParam(); }
        if (tag.equals("value")) { value = true; }
        if (tag.equals("type")) { type = true; }
       
        if (tag.equals("views")) { views = true; }
        if (tag.equals("view")) { viewitem = true; vtmp = new View(); }
View Full Code Here


                    _graphManager.setEdgeColor(medge.getFirst(), medge.getSecond(), viewName, medge.getColor());
                }
            } else if (n instanceof NexsmPaintable) {
                _graphManager.putRenderer(viewName, (NexsmPaintable)n);
            } else if (n instanceof ConfParam) {
                ConfParam parm = (ConfParam)n;
                if (parm.getName().equals("schedulerinterval")) {
                    _getItemsScheduler.setInterval(Long.parseLong(parm.getValue()));
                } else {
                    setParam(parm.getName(), parm.getValue());
                }
            } else if (n instanceof StatProgram) {
                // TODO get the program_start and set that value in
                // Scheduler
            } else if (n instanceof ConfPlugin) {
View Full Code Here

            try {
               klass  = Class.forName(push.getPusherClass());
            } catch (ClassNotFoundException ex) {
                ex.printStackTrace();
            }
            ConfParam param = push.getParam("uploadURL");
           
            if (param != null) {
                String uploadURL = param.getValue();
                if (uploadURL.startsWith("/")) {
                    uploadURL = getStringParam("nagiosbase") + uploadURL;
                }
               
                // needs cleanup Sergio 21/May/2007
View Full Code Here

TOP

Related Classes of net.gridshield.nexsm.entityclasses.ConfParam

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.