org.netbeans.modules.extexecution/2 1.31

org.netbeans.spi.extexecution.startup
Interface StartupExtenderImplementation


public interface StartupExtenderImplementation

Defines the interface for plugins providing additional arguments for process startup. Typically the server plugin implementor or project will query the arguments via API counterpart StartupExtender. Of course it is not mandatory to use such arguments and there is no way to force it.

Since:
1.30
See Also:
StartupExtender, StartupExtenderImplementation.Registration

Nested Class Summary
static interface StartupExtenderImplementation.Registration
          Annotation used to properly register the SPI implementations.
 
Method Summary
 List<String> getArguments(Lookup context, StartupExtender.StartMode mode)
          Returns the list of arguments to pass to the process for the given start mode.
 

Method Detail

getArguments

@NonNull
List<String> getArguments(@NonNull
                                  Lookup context,
                                  @NonNull
                                  StartupExtender.StartMode mode)
Returns the list of arguments to pass to the process for the given start mode.

Parameters:
context - the lookup providing the contract between client and provider (see StartupExtender#getStartupExtender for details)
mode - the startup mode the client is going to use
Returns:
the list of arguments to pass to the process

org.netbeans.modules.extexecution/2 1.31

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.