diff options
author | Ryan D. Brooks | 2011-05-13 20:13:19 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-05-13 20:13:19 +0000 |
commit | da2d4b7b76f5a554ef480b8a79baa9cdb0f5d6b3 (patch) | |
tree | 0f4d833022a9bdd759a6494f77b6d2ebd0ac076c /plugins/org.eclipse.osee.framework.skynet.core/src | |
parent | ce97ace3d28ff7168d6ccd4516ae43890105af53 (diff) | |
download | org.eclipse.osee-da2d4b7b76f5a554ef480b8a79baa9cdb0f5d6b3.tar.gz org.eclipse.osee-da2d4b7b76f5a554ef480b8a79baa9cdb0f5d6b3.tar.xz org.eclipse.osee-da2d4b7b76f5a554ef480b8a79baa9cdb0f5d6b3.zip |
refactor: Remove obsoelte classes ArtifactOperation and WorkflowStep
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core/src')
2 files changed, 0 insertions, 72 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/ArtifactOperation.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/ArtifactOperation.java deleted file mode 100644 index dae1fa5654b..00000000000 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/ArtifactOperation.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2007 Boeing. - * 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: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.framework.skynet.core.artifact.operation; - -import java.util.List; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.osee.framework.core.data.IArtifactType; -import org.eclipse.osee.framework.core.exception.OseeCoreException; -import org.eclipse.osee.framework.core.model.Branch; -import org.eclipse.osee.framework.skynet.core.artifact.Artifact; -import org.eclipse.osee.framework.skynet.core.artifact.ArtifactFactory; - -/** - * @author Ryan D. Brooks - */ -public abstract class ArtifactOperation extends Artifact implements WorkflowStep { - public ArtifactOperation(ArtifactFactory parentFactory, String guid, String humanReadableId, Branch branch, IArtifactType artifactType) throws OseeCoreException { - super(parentFactory, guid, humanReadableId, branch, artifactType); - } - - /** - * The list of artifacts will never be null, but may be empty. Must never throw NullPointerException, but rather a - * more informative excpetion explaining the problem that would have caused a NullPointerException. - * - * @param monitor progress monitor for upating the GUI - * @return may return null because the engine will use an empty list in this case - */ - public abstract List<Artifact> applyToArtifacts(List<Artifact> artifacts, IProgressMonitor monitor) throws IllegalArgumentException, Exception; - - @Override - public List<Artifact> perform(List<Artifact> artifacts, IProgressMonitor monitor) throws IllegalArgumentException, Exception { - return applyToArtifacts(artifacts, monitor); - } -}
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/WorkflowStep.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/WorkflowStep.java deleted file mode 100644 index 4f81fe98705..00000000000 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/operation/WorkflowStep.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2007 Boeing. - * 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: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.framework.skynet.core.artifact.operation; - -import java.util.List; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.osee.framework.skynet.core.artifact.Artifact; - -/** - * @author Ryan D. Brooks - */ -public interface WorkflowStep { - - /** - * <step> ::= <artifact operation invocation> | <workflow invocation> | <exit> | <flow - * control construct> - * - * @return list of artifacts that are the result of this step (if null) engine with replace with the empty list - */ - public abstract List<Artifact> perform(List<Artifact> artifacts, IProgressMonitor monitor) throws IllegalArgumentException, Exception; - -} |