Interface IApplicationBehaviourDelegate
- 
 public interface IApplicationBehaviourDelegateThe application behaviour delegate of the specific type of the application.This interface is intended to be implemented and registered by clients. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheck(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor)Checks and returns whether the application is ready to launch e.g.voidinitialize(IApplicationProvisionNotifier notifier, IApplicationType type)Initializes the application behaviour delegate with the registered application type and provision notifier.ExecutionContextlaunch(IApplication application, String launchMode, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor)Publishes the application with the provided publish kind.PublishStatepublish(IApplication application, PublishKind kind, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor)Publishes the application with the provided publish kind.
 
- 
- 
- 
Method Detail- 
initializevoid initialize(IApplicationProvisionNotifier notifier, IApplicationType type) throws ApplicationException Initializes the application behaviour delegate with the registered application type and provision notifier.- Parameters:
- notifier- the application provision notifier, cannot be- null
- type- the application type, cannot be- null
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
publishPublishState publish(IApplication application, PublishKind kind, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException Publishes the application with the provided publish kind.- Parameters:
- application- the application to publish, cannot be- null
- kind- the publish kind to use, cannot be- null
- context- the execution context, cannot be- null
- monitor- the progress monitor to report progress to, cannot be- null
- Returns:
- the publication state after execution, never null
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
checkboolean check(IApplication application, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException Checks and returns whether the application is ready to launch e.g. is not changed outside of the IDE.- Parameters:
- application- the application to check, cannot be- null
- context- the execution context, cannot be- null
- monitor- the progress monitor to report progress to, cannot be- null
- Returns:
- whether the application is ready to launch
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
launchExecutionContext launch(IApplication application, String launchMode, ExecutionContext context, org.eclipse.core.runtime.SubMonitor monitor) throws ApplicationException Publishes the application with the provided publish kind.- Parameters:
- application- the application to publish, cannot be- null
- launchMode- the launch mode to use, cannot be- null
- context- the execution context, cannot be- null
- monitor- the progress monitor to report progress to, cannot be- null
- Returns:
- the execution context after execution, never null
- Throws:
- ApplicationException- if method call failed with some reason
 
 
- 
 
-