| /** |
| * ******************************************************************************* |
| * Copyright (c) 2015-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 |
| * |
| * Generated using Eclipse EMF |
| * |
| * ******************************************************************************* |
| */ |
| package org.eclipse.app4mc.amalthea.model; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Task</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * Schedulable entity, which is managed by the OS. An instance of a Task is mapped to exactly one core |
| * and includes the direct representation of all abstractions. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.Task#getPreemption <em>Preemption</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.Task#getMultipleTaskActivationLimit <em>Multiple Task Activation Limit</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getTask() |
| * @model |
| * @generated |
| */ |
| public interface Task extends org.eclipse.app4mc.amalthea.model.Process { |
| /** |
| * Returns the value of the '<em><b>Preemption</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.Preemption}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Preemption</em>' attribute. |
| * @see org.eclipse.app4mc.amalthea.model.Preemption |
| * @see #setPreemption(Preemption) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getTask_Preemption() |
| * @model unique="false" |
| * @generated |
| */ |
| Preemption getPreemption(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.Task#getPreemption <em>Preemption</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Preemption</em>' attribute. |
| * @see org.eclipse.app4mc.amalthea.model.Preemption |
| * @see #getPreemption() |
| * @generated |
| */ |
| void setPreemption(Preemption value); |
| |
| /** |
| * Returns the value of the '<em><b>Multiple Task Activation Limit</b></em>' attribute. |
| * The default value is <code>"0"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Multiple Task Activation Limit</em>' attribute. |
| * @see #setMultipleTaskActivationLimit(int) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getTask_MultipleTaskActivationLimit() |
| * @model default="0" unique="false" |
| * @generated |
| */ |
| int getMultipleTaskActivationLimit(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.Task#getMultipleTaskActivationLimit <em>Multiple Task Activation Limit</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Multiple Task Activation Limit</em>' attribute. |
| * @see #getMultipleTaskActivationLimit() |
| * @generated |
| */ |
| void setMultipleTaskActivationLimit(int value); |
| |
| } // Task |