Map<String, MethodInfo> srmappings = new HashMap<String, MethodInfo>(); Deliberation del = goal.deliberation(); Class<?>[] inh = del.inhibits(); Set<String> inhnames = null; Class<?>[] trgoals = goal.triggergoals(); if(trgoals!=null) MGoal mgoal = new MGoal(gcl.getName(), gcl.getName(), goal.posttoall(), goal.rebuild(), goal.randomselection(), goal.excludemode(), goal.retry(), goal.recur(), goal.retrydelay(), goal.recurdelay(), goal.orsuccess(), goal.unique(), mdel, params, spmappings.size()>0? spmappings: null, srmappings.size()>0? srmappings: null, mtr); jadex.bdiv3.annotation.Publish pub = goal.publish(); if(!Object.class.equals(pub.type()))
Map<String, MethodInfo> srmappings = new HashMap<String, MethodInfo>(); Deliberation del = goal.deliberation(); Class<?>[] inh = del.inhibits(); Set<String> inhnames = null; MGoal mgoal = new MGoal(gcl.getName(), gcl.getName(), goal.posttoall(), goal.randomselection(), goal.excludemode().getString(), goal.retry(), goal.recur(), goal.retrydelay(), goal.recurdelay(), goal.succeedonpassed(), goal.unique(), mdel, params, spmappings.size()>0? spmappings: null, srmappings.size()>0? srmappings: null); jadex.bdiv3.annotation.Publish pub = goal.publish(); if(!Object.class.equals(pub.type()))
for(Goal goal: goals) getMGoal(bdimodel, goal, goal.clazz(), cl, pubs);
for(Goal goal: goals) getMGoal(bdimodel, goal, goal.clazz(), cl, pubs);