Package org.cloudfoundry.ide.eclipse.server.core

Examples of org.cloudfoundry.ide.eclipse.server.core.AbstractApplicationDelegate


    // archive file containing changes to the
    // application's
    // resources. Use incremental publishing if
    // possible.

    AbstractApplicationDelegate delegate = ApplicationRegistry.getApplicationDelegate(cloudModule.getLocalModule());

    ApplicationArchive archive = null;
    if (delegate != null && delegate.providesApplicationArchive(cloudModule.getLocalModule())) {
      IModuleResource[] resources = getResources(modules);

      archive = getApplicationArchive(cloudModule, monitor, delegate, resources);
    }
View Full Code Here


    if (localModule == null) {
      return true;
    }

    AbstractApplicationDelegate delegate = ApplicationRegistry.getApplicationDelegate(localModule);

    return delegate == null || delegate.requiresURL();
  }
View Full Code Here

   * @see AbstractApplicationDelegate#validateDeploymentInfo(ApplicationDeploymentInfo)
   * @return OK status if deployment information is complete and valid. Error
   * if failed to validate, or is invalid (i.e. it is missing information).
   */
  public synchronized IStatus validateDeploymentInfo() {
    AbstractApplicationDelegate delegate = ApplicationRegistry.getApplicationDelegate(getLocalModule());
    if (delegate == null) {
      return AbstractApplicationDelegate.basicValidateDeploymentInfo(deploymentInfo);
    }
    return delegate.validateDeploymentInfo(deploymentInfo);
  }
View Full Code Here

  protected ApplicationDeploymentInfo resolveDeployedApplicationInformation() {
    if (application == null) {
      return null;
    }

    AbstractApplicationDelegate delegate = ApplicationRegistry.getApplicationDelegate(getLocalModule());
    ApplicationDeploymentInfo info = null;
    CloudFoundryServer cloudServer = getCloudFoundryServer();

    if (delegate != null) {
      info = delegate.resolveApplicationDeploymentInfo(this, cloudServer);
    }

    // If no info has been resolved yet, use a default parser
    if (info == null) {
      info = AbstractApplicationDelegate.parseApplicationDeploymentInfo(application);
View Full Code Here

   * @return non-null default deployment info. This default information is
   * also set in the module as the module's current deployment information.
   */
  protected ApplicationDeploymentInfo getDefaultDeploymentInfo(IProgressMonitor monitor) throws CoreException {

    AbstractApplicationDelegate delegate = ApplicationRegistry.getApplicationDelegate(getLocalModule());
    ApplicationDeploymentInfo defaultInfo = null;

    if (delegate != null) {
      defaultInfo = delegate.getDefaultApplicationDeploymentInfo(this, getCloudFoundryServer(), monitor);
    }

    if (defaultInfo == null) {
      defaultInfo = createGeneralDefaultInfo();
    }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.core.AbstractApplicationDelegate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.