blob: 6f97302a04c1dd5b8d495c75ea043b90123af262 [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 | Fixed Priority | OSEK",
"description = Creates an OSEK scheduler definition" },
service = CreationService.class)
public class SchedulerDefinitionOSEK extends AbstractSchedulerDefinitionCreationService {
@PostConstruct
public void create(OSModel osModel) {
doCreate(osModel, Algorithm.OSEK, "Create OSEK scheduler definition");
}
}