source: DCWoRMS/trunk/src/schedframe/resources/computing/profiles/energy/airthroughput/AirThroughputInterfaceFactory.java @ 753

Revision 753, 688 bytes checked in by wojtekp, 12 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.resources.computing.profiles.energy.airthroughput;
2
3import schedframe.resources.computing.ComputingResource;
4import schedframe.resources.computing.profiles.energy.airthroughput.ui.AirThroughputInterface;
5import schedframe.resources.computing.profiles.energy.airthroughput.ui.ComputingResourceAirThroughputInterface;
6
7public class AirThroughputInterfaceFactory {
8       
9        public static AirThroughputInterface createAirThroughputInterface(ComputingResource resource, AirThroughputProfile atp){
10                if(atp == null)
11                        return null;
12                AirThroughputInterface airThroughputInterface = new ComputingResourceAirThroughputInterface(resource, atp);
13
14                return airThroughputInterface;
15        }
16}
Note: See TracBrowser for help on using the repository browser.