2 * Copyright 2000-2014 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.jetbrains.python.run;
18 import org.jetbrains.annotations.NotNull;
21 * @author Leonid Shalupov
23 public interface PythonRunConfigurationParams {
24 AbstractPythonRunConfigurationParams getBaseParams();
26 String getScriptName();
28 void setScriptName(String scriptName);
30 String getScriptParameters();
32 void setScriptParameters(String scriptParameters);
34 boolean showCommandLineAfterwards();
35 void setShowCommandLineAfterwards(boolean showCommandLineAfterwards);
37 boolean emulateTerminal();
38 void setEmulateTerminal(boolean emulateTerminal);
40 default boolean isModuleMode() {
44 default void setModuleMode(boolean moduleMode) {
47 default boolean isRedirectInput() {
51 default void setRedirectInput(boolean isRedirectInput) {
56 default String getInputFile() {
60 default void setInputFile(@NotNull String inputFile) {