]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/federation/Federation.java
readded maven for QA purpose AND easier integration with Jenkins.
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / federation / Federation.java
1 package at.ac.tuwien.lsdc.federation;
2
3 import at.ac.tuwien.lsdc.types.Application;
4
5 public class Federation {
6         
7         private int numPartners;
8         
9         public Federation(int numPartners) {
10                 this.numPartners = numPartners;
11         }
12         
13         public boolean doOutsource(Application app) {
14                 for (int i=0;i<numPartners;i++) {
15                         //do some probability stuff
16                         //e.g. every cloudPartner has a 30 % chance of accepting the app
17                 }
18                 return false;
19         }
20
21 }