diff options
author | Tor Norbye <tnorbye@google.com> | 2014-09-04 13:24:04 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2014-09-04 13:24:04 -0700 |
commit | c3d3a90f6b4ead083d63e28e6b9fcea93d675678 (patch) | |
tree | fc0dcd722b6d445468dbe7dad13b4c11781b1cbe /platform/platform-api/src/com/intellij/openapi/application/ApplicationStarterEx.java | |
parent | 1aa2e09bdbd413eacb677e9fa4b50630530d0656 (diff) | |
download | idea-c3d3a90f6b4ead083d63e28e6b9fcea93d675678.tar.gz |
Snapshot idea/138.1980 from git://git.jetbrains.org/idea/community.git
Change-Id: Ib567c9c152d770212a7a3db20fbf591c210920bd
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) { } } |