| /******************************************************************************* |
| * Copyright (c) 2016 Parasoft. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Janusz Studzizba - initial API and implementation |
| * Dariusz Oszczedlowski - initial API and implementation |
| * Magdalena Gniewek - initial API and implementation |
| * Michal Wlodarczyk - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.opencert.impactanalysis.relations; |
| |
| import org.eclipse.opencert.apm.assuranceassets.assuranceasset.EventKind; |
| import org.eclipse.opencert.infra.general.general.ChangeEffectKind; |
| |
| public interface IArtefactRelationImpact |
| { |
| String toString(); |
| |
| ChangeEffectKind getImpactedChangeEffectKind(); |
| |
| int getRecursionDepth(); |
| |
| Long getImpactingArtefactCDOId(); |
| |
| Long getImpactedArtefactCDOId(); |
| |
| String getImpactingArtefactRelationUniqueId(); |
| |
| boolean isSuppressed(); |
| |
| void setSuppressed(boolean suppressed); |
| |
| EventKind getImpactingEventKind(); |
| |
| String getUserFriendlyRelationName(); |
| |
| String getUserFriendlyImpactedArtefactName(); |
| |
| String getUserFriendlyImpactingArtefactName(); |
| |
| ArtefactRelationType getArtefactRelationType(); |
| |
| EventKind generateNewEventBasedOnChangeEffectKindOrForwardCurrent( |
| EventKind impactingEventKind); |
| } |