Package com.sonyericsson.hudson.plugins.metadata.model.values

Examples of com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue$AbstractMetaDataValueDescriptor


    @Override
    public List<MetadataValue> getMetaDataFor(AbstractBuild build) {
        TreeNodeMetadataValue buildNode = TreeStructureUtil.createPath(build.getResult().toString(), "",
                "build", "result");
        AbstractMetadataValue mdv = new NumberMetadataValue("ms", build.getDuration());
        mdv.setGenerated(true);
        TreeStructureUtil.addValue(buildNode, mdv, "duration");
        mdv = new StringMetadataValue("display", build.getDurationString());
        mdv.setGenerated(true);
        TreeStructureUtil.addValue(buildNode, mdv, "duration");
        TreeStructureUtil.addValue(buildNode, build.getBuiltOnStr(), null, "builtOn");
        TreeStructureUtil.addValue(buildNode, build.getTimestamp(), null, true, false, "scheduled");
        List<MetadataValue> values = new LinkedList<MetadataValue>();
        values.add(buildNode);
View Full Code Here

TOP

Related Classes of com.sonyericsson.hudson.plugins.metadata.model.values.AbstractMetadataValue$AbstractMetaDataValueDescriptor

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.