blob: a950f5a1dee3a4c018b87f273d67d7590ea12831 [file] [log] [blame]
/*********************************************************************************
* Copyright (c) 2021 Robert Bosch GmbH and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Robert Bosch GmbH - initial API and implementation
********************************************************************************
*/
package org.eclipse.app4mc.amalthea.model.editor.contribution.service.creation;
import javax.annotation.PostConstruct;
import org.eclipse.app4mc.amalthea.model.OSModel;
import org.eclipse.app4mc.amalthea.model.editor.contribution.service.CreationService;
import org.eclipse.app4mc.amalthea.model.predefined.StandardSchedulers.Algorithm;
import org.osgi.service.component.annotations.Component;
@Component(
property = {
"name = Scheduler Definition | Proportionate Fair (Pfair) | Partly Early Release Fair PD2",
"description = Creates a PartlyEarlyReleaseFairPD2 scheduler definition" },
service = CreationService.class)
public class SchedulerDefinitionPartlyEarlyReleaseFairPD2 extends AbstractSchedulerDefinitionCreationService {
@PostConstruct
public void create(OSModel osModel) {
doCreate(osModel, Algorithm.PARTLY_EARLY_RELEASE_FAIR_PD2, "Create PartlyEarlyReleaseFairPD2 scheduler definition");
}
}