Interface IApplicationProvisionDelegate
- 
 public interface IApplicationProvisionDelegateThe application provision 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 List<IApplication>getApplications(org.eclipse.core.resources.IProject project, IApplicationType type)Returns a list of all registered project applications.LifecycleStategetLifecycleState(ILifecycleAware object)Returns the application lifecycle state for the provided application or lifecycle aware artifact.PublishStategetPublishState(IApplication application)Returns the application publish state for the provided application.voidinitialize(IApplicationProvisionNotifier notifier, IApplicationAttributeRepository attributeRepository, IApplicationType type)Initializes the application provision delegate with the registered application type and provision notifier.
 
- 
- 
- 
Method Detail- 
initializevoid initialize(IApplicationProvisionNotifier notifier, IApplicationAttributeRepository attributeRepository, IApplicationType type) throws ApplicationException Initializes the application provision delegate with the registered application type and provision notifier.- Parameters:
- notifier- the application provision notifier, cannot be- null
- attributeRepository- the application attribute repository to use if needed, cannot be- null
- type- the application type, cannot be- null
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
getApplicationsList<IApplication> getApplications(org.eclipse.core.resources.IProject project, IApplicationType type) throws ApplicationException Returns a list of all registered project applications.- Parameters:
- project- the project to get applications for, cannot be- null
- Returns:
- a list of all registered project applications, never null
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
getLifecycleStateLifecycleState getLifecycleState(ILifecycleAware object) throws ApplicationException Returns the application lifecycle state for the provided application or lifecycle aware artifact. May be unkown.- Parameters:
- object- the object to get state for, cannot be- null
- Returns:
- the application lifecycle state, never null
- Throws:
- ApplicationException- if method call failed with some reason
 
 - 
getPublishStatePublishState getPublishState(IApplication application) throws ApplicationException Returns the application publish state for the provided application. May be unkown.- Parameters:
- application- the application to get state for, cannot be- null
- Returns:
- the application publish state, never null
- Throws:
- ApplicationException- if method call failed with some reason
 
 
- 
 
-