Interface IApplicationProvisionDelegate


  • public interface IApplicationProvisionDelegate
    The application provision delegate of the specific type of the application.

    This interface is intended to be implemented and registered by clients.

    • Method Detail

      • getApplications

        List<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
      • getLifecycleState

        LifecycleState 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
      • getPublishState

        PublishState 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