diff --git a/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java b/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java index a723f55ccc26..fba4efa530f9 100644 --- a/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java +++ b/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java @@ -16,9 +16,18 @@ package com.intellij.execution.process; import com.intellij.openapi.util.Key; +import com.intellij.util.containers.ContainerUtil; + +import java.util.Set; public interface ProcessOutputTypes { - Key SYSTEM = new Key("system"); - Key STDOUT = new Key("stdout"); - Key STDERR = new Key("stderr"); + String SYSTEM_STRING = "system"; + String STDOUT_STRING = "stdout"; + String STDERR_STRING = "stderr"; + + Key SYSTEM = new Key(SYSTEM_STRING); + Key STDOUT = new Key(STDOUT_STRING); + Key STDERR = new Key(STDERR_STRING); + + Set TYPES = ContainerUtil.newHashSet(SYSTEM, STDOUT, STDERR); }