fixed process handler
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Tue, 30 Nov 2010 20:20:59 +0000 (23:20 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Tue, 30 Nov 2010 20:20:59 +0000 (23:20 +0300)
platform/lang-api/src/com/intellij/execution/configurations/MockCommandLineState.java [new file with mode: 0644]

diff --git a/platform/lang-api/src/com/intellij/execution/configurations/MockCommandLineState.java b/platform/lang-api/src/com/intellij/execution/configurations/MockCommandLineState.java
new file mode 100644 (file)
index 0000000..7ec78df
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2000-2008 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.intellij.execution.configurations;
+
+import com.intellij.execution.ExecutionException;
+import com.intellij.execution.configurations.CommandLineState;
+import com.intellij.execution.process.OSProcessHandler;
+import com.intellij.execution.runners.ExecutionEnvironment;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
+
+/**
+ * @author oleg
+ */
+
+public class MockCommandLineState extends CommandLineState {
+  public MockCommandLineState(@NotNull final ExecutionEnvironment env) {
+    super(env);
+  }
+
+  @Nullable
+  protected OSProcessHandler startProcess() throws ExecutionException {
+    return null;
+  }
+}
\ No newline at end of file