Package net.sourceforge.processdash.data

Examples of net.sourceforge.processdash.data.ImmutableStringData


    private void registerEnvironmentalData() {
        try {
            Map env = new HashMap();
           
            String os = InternalSettings.getOSPrefix();
            env.put("OS.TYPE", new ImmutableStringData(os, false, true));
            env.put("OS.IS_" + os.toUpperCase(), ImmutableDoubleData.TRUE);
            if (!os.equals("windows"))
                env.put("OS.IS_UNIX", ImmutableDoubleData.TRUE);

            data.mountPhantomData("//Env", env);
View Full Code Here


        add(FunctionCall.get(node.getText())); }
    public void caseTIdentifier(TIdentifier node) {
        add(new PushVariable(trimDelim(node))); }
    public void caseTStringLiteral(TStringLiteral node) {
        String stringVal = interpolateResources(trimDelim(node));
        add(new PushConstant(new ImmutableStringData(stringVal))); }
View Full Code Here

    }

    /** Save a value into the data repository. */
    protected void putValue(String name, String value) {
        if (value == null) value = "";
        putValue(name, new ImmutableStringData(value));
    }
View Full Code Here

            for (EVTaskDependency d : dependencies) {
                d.getAsXML(xml, false);
            }
            if (xml.length() > 6) {
                xml.append("</list>");
                value = new ImmutableStringData(xml.toString());
            }
        }

        String dataName = DataRepository.createDataName(taskPath,
                TASK_DEPENDENCIES_DATA_NAME);
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.data.ImmutableStringData

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.