Changeset b035f90


Ignore:
Timestamp:
Apr 16, 2012 10:37:58 AM (7 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
aada25c
Parents:
934dd99
Message:

Print testbed information (experiment, project)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • axis/Ftopo.java

    r5bbad08 rb035f90  
    5858
    5959        System.out.println("From Topdl (sampling)");
     60        System.out.println("Testbed information:");
     61        for (ElementType e: top.getElements()) {
     62            TestbedType t = e.getTestbed();
     63            if ( t != null ) {
     64                System.out.println("\t" + t.getUri());
     65                for ( String name : t.getLocalname())
     66                    System.out.println("\t\tTestbed name: " + name);
     67                for (AttributeType a: t.getAttribute())
     68                    System.out.println("\t\t" + a.getAttribute() + " " +
     69                            a.getValue());
     70            }
     71        }
     72
     73        System.out.println("Node information:");
    6074        for (ElementType e: top.getElements()) {
    6175            ComputerType c = e.getComputer();
Note: See TracChangeset for help on using the changeset viewer.