diff options
Diffstat (limited to 'platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java')
-rw-r--r-- | platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java b/platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java index f84fc1481547..c4b3a6384f56 100644 --- a/platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java +++ b/platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2011 JetBrains s.r.o. + * Copyright 2000-2014 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. @@ -16,11 +16,17 @@ package com.intellij.openapi.application; /** - * Implementors of this interface declared via {@link com.intellij.ExtensionPoints#APPLICATION_STARTER} are also capable of processing - * an external command line within a running IntelliJ Platform instance. - + * Implementers of the interface declared via {@link com.intellij.ExtensionPoints#APPLICATION_STARTER} + * may be capable of processing an external command line within a running IntelliJ Platform instance. + * * @author yole */ -public interface ApplicationStarterEx extends ApplicationStarter { - void processExternalCommandLine(String[] args); +public abstract class ApplicationStarterEx implements ApplicationStarter { + public abstract boolean isHeadless(); + + public boolean canProcessExternalCommandLine() { + return false; + } + + public void processExternalCommandLine(String[] args) { } } |