blob: 4b5cb4ff79c3a3658bcadb6d3f003e150d30d408 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2011 Code 9 and others.
*
* This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License 2.0 which accompanies this distribution, and is
* available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Code 9 - initial API and implementation
* EclipseSource - ongoing development
******************************************************************************/
package org.eclipse.equinox.p2.publisher.eclipse;
import org.eclipse.equinox.p2.publisher.IPublisherAdvice;
/**
* Advice for executables while publishing.
*/
public interface IExecutableAdvice extends IPublisherAdvice {
/**
* Returns the VM arguments for this executable.
* @return The list of VM Arguments for this executable or empty array for none
*/
public String[] getVMArguments();
/**
* Returns the program arguments for this executable.
*
* @return The list of program arguments for tihs executable or empty array for none
*/
public String[] getProgramArguments();
/**
* Returns the name of the launcher. This should be the OS-independent
* name. That is, ".exe" etc. should not be included.
*
* @return the name of the branded launcher or <code>null</code> if none.
*/
public String getExecutableName();
}