/*
 * Copyright 2014-2015 CyberVision, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.kaaproject.kaa.sandbox.demo;

import java.util.ArrayList;
import java.util.List;

public class DemoBuildersRegistry {

    private static final List<DemoBuilder> demoBuilders = new ArrayList<>();

    static {
        // Iot World demo
        demoBuilders.add(new IotWorldDemoBuilder());
        
        demoBuilders.add(new ConnectedCarDemo());
        
        demoBuilders.add(new PowerPlantDemoBuilder());
        demoBuilders.add(new TrafficLightsDriverDemoBuilder());
        demoBuilders.add(new StreetLightDriverDemoBuilder());
        demoBuilders.add(new CityLightsControllerDemoBuilder());
        
        demoBuilders.add(new TwitterBoardDemoBuilder());
        demoBuilders.add(new TwitterMonitorDemoBuilder());
        
        demoBuilders.add(new VehicleTelemetryDemoBuider());

        //ANDROID DEMOS
        demoBuilders.add(new AndroidNotificationDemoBuilder());
        demoBuilders.add(new CellMonitorDemoBuilder());
        demoBuilders.add(new CityGuideDemoBuilder());
        demoBuilders.add(new PhotoFrameDemoBuilder());
//      demoBuilders.add(new SmartHouseDemoBuilder());
//      demoBuilders.add(new VerifiersDemoBuilder());
//      demoBuilders.add(new RobotRunDemoBuilder());

        demoBuilders.add(new EventDemoBuilder());
        demoBuilders.add(new DataCollectionDemoBuider());
        demoBuilders.add(new ConfigurationDemoBuilder());
        demoBuilders.add(new NotificationDemoBuilder());
        demoBuilders.add(new PowerPlantAndroidDemoBuilder());
    }

    public static List<DemoBuilder> getRegisteredDemoBuilders() {
        return demoBuilders;
    }
}

/*
 * Copyright 2014-2015 CyberVision, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.kaaproject.kaa.sandbox.demo;

import java.util.ArrayList;
import java.util.List;

public class DemoBuildersRegistry {

    private static final List<DemoBuilder> demoBuilders = new ArrayList<>();

    static {
        // Iot World demo
        demoBuilders.add(new IotWorldDemoBuilder());
        
        demoBuilders.add(new ConnectedCarDemo());
        
        demoBuilders.add(new PowerPlantDemoBuilder());
        demoBuilders.add(new TrafficLightsDriverDemoBuilder());
        demoBuilders.add(new StreetLightDriverDemoBuilder());
        demoBuilders.add(new CityLightsControllerDemoBuilder());
        
        demoBuilders.add(new TwitterBoardDemoBuilder());
        demoBuilders.add(new TwitterMonitorDemoBuilder());
        
        demoBuilders.add(new VehicleTelemetryDemoBuider());

        //ANDROID DEMOS
        demoBuilders.add(new AndroidNotificationDemoBuilder());
        demoBuilders.add(new CellMonitorDemoBuilder());
        demoBuilders.add(new CityGuideDemoBuilder());
        demoBuilders.add(new PhotoFrameDemoBuilder());
//      demoBuilders.add(new SmartHouseDemoBuilder());
      demoBuilders.add(new VerifiersDemoBuilder());
//      demoBuilders.add(new RobotRunDemoBuilder());

        demoBuilders.add(new EventDemoBuilder());
        demoBuilders.add(new DataCollectionDemoBuider());
        demoBuilders.add(new ConfigurationDemoBuilder());
        demoBuilders.add(new NotificationDemoBuilder());
        demoBuilders.add(new PowerPlantAndroidDemoBuilder());
    }

    public static List<DemoBuilder> getRegisteredDemoBuilders() {
        return demoBuilders;
    }
}

enable Verifiers demo application build