public LatticeBootDashModel(LatticeRunTarget target, BootDashModelContext context) { super(target); this.store = PropertyStoreFactory.createForScope(target.getType(), context.getRunTargetProperties()); this.ltcTarget = target; this.context = context; }
public AbstractRunTargetType(BootDashModelContext context, String name) { this.name = name; // TODO: there shouldn't be any exceptions to allow for target types that don't provide a // context. // However this requires a bunch of refactoring to get rid of the global constants related to // the // 'LOCAL' runtarget and type. if (context != null) { this.propertyStore = PropertyStoreFactory.createSubStore(name, context.getViewProperties()); } }