Examples of Cloud


Examples of edu.umd.cs.findbugs.cloud.Cloud

            String cloudName = null;
            if (group.getType() == GroupType.Project) {
                IProject project = (IProject) group.getData();
                try {
                    SortedBugCollection bc = FindbugsPlugin.getBugCollection(project, null);
                    Cloud cloud = bc.getCloud();
                    if (cloud.isOnlineCloud()) {
                        cloudName = cloud.getCloudName();
                    }
                } catch (CoreException e) {
                    FindbugsPlugin.getDefault().logException(e, "Failed to load bug collection");
                }
            }
View Full Code Here

Examples of edu.umd.cs.findbugs.cloud.Cloud

        final IProject eclipseProj = getProject();
        String cloudid = null;
        if (eclipseProj != null) {
            SortedBugCollection collection = FindbugsPlugin.getBugCollectionIfSet(eclipseProj);
            if (collection != null) {
                Cloud cloud = collection.getCloud();
                if (!(cloud instanceof DoNothingCloud)) {
                    cloudid = cloud.getPlugin().getId();
                }
            }
        }
        if (cloudid == null) {
            cloudid = currentUserPreferences.getCloudId();
View Full Code Here

Examples of edu.umd.cs.findbugs.cloud.Cloud

    public void finish() {
        if (DEBUG) {
            System.out.println("Finish: Found " + bugCount + " bugs."); //$NON-NLS-1$//$NON-NLS-2$
        }
        Cloud cloud = bugCollection.getCloud();
        if (cloud != null) {
            cloud.bugsPopulated();
        }
        reportResultsToConsole();
    }
View Full Code Here

Examples of edu.umd.cs.findbugs.cloud.Cloud

            BugInstance bug = theBug2.getBugInstance();
            long timestamp = theBug2.getBugCollection().getAppVersionFromSequenceNumber(bug.getFirstVersion()).getTimestamp();

            String firstVersion = "First seen: " + convertTimestamp(timestamp);

            Cloud cloud = theBug2.getBugCollection().getCloud();

            setCloud(cloud);
            if (cloud.canStoreUserAnnotation(bug)) {

                String userDesignation = cloud.getUserEvaluation(bug);
                this.userAnnotation = (userDesignation == null) ? "" : userDesignation.trim();
                this.firstVersionText = firstVersion.trim();
                this.cloudText = cloud.getCloudReport(bug);
                this.userAnnotationTextField.setEnabled(true);
                this.designationComboBox.setEnabled(true);

                int comboIndex = bug.getUserDesignationKeyIndex();
                if (comboIndex == -1) {
View Full Code Here

Examples of org.eclipse.orion.server.cf.objects.Cloud

  }

  public Cloud createTempCloud(URL url) {
    CFExtServiceHelper helper = CFExtServiceHelper.getDefault();
    if (helper != null && helper.getService() != null) {
      Cloud someCloud = helper.getService().getClouds().get(url);
      if (someCloud != null)
        return new DarkCloud(someCloud, null);
    }

    return new DarkCloud(url, null, null);
View Full Code Here

Examples of org.eclipse.orion.server.cf.objects.Cloud

      url = URLUtil.normalizeURL(url);
      if (url == null || (defaultTarget != null && url.equals(defaultTarget.getCloud().getUrl()))) {
        return defaultTarget != null ? defaultTarget.getCloud() : null;
      }

      Cloud cloud = userCloudMap.get(url);
      if (cloud == null) {
        CFExtServiceHelper helper = CFExtServiceHelper.getDefault();
        if (helper != null && helper.getService() != null) {
          Cloud someCloud = helper.getService().getClouds().get(url);
          if (someCloud != null) {
            cloud = new DarkCloud(someCloud, userId);
          }
        }

        if (cloud == null) {
          Cloud someCloud = getConfigCloud();
          if (someCloud != null && someCloud.getUrl().equals(url)) {
            cloud = someCloud;
          } else {
            cloud = new DarkCloud(url, null, this.userId);
          }
        }
View Full Code Here

Examples of org.eclipse.orion.server.cf.objects.Cloud

    private Target getTarget(URL url) {
      url = URLUtil.normalizeURL(url);
      if (url == null || (defaultTarget != null && url.equals(defaultTarget.getCloud().getUrl()))) {
        return defaultTarget;
      }
      Cloud cloud = getCloud(url);
      return new Target(cloud);
    }
View Full Code Here

Examples of org.eclipse.orion.server.cf.objects.Cloud

      Cloud cloud = getCloud(url);
      return new Target(cloud);
    }

    private void setDefaulTarget(Target target) {
      Cloud cloud = getCloud(target.getCloud().getUrl());
      Target newTarget = new Target(cloud);
      newTarget.setOrg(target.getOrg());
      newTarget.setSpace(target.getSpace());
      defaultTarget = newTarget;
    }
View Full Code Here

Examples of org.gridkit.nanocloud.Cloud

        if (cloud != null)
            cloud.shutdown();
    }

    static Cloud createLocalCloud() {
        final Cloud cloud = CloudFactory.createCloud();
        ViProps.at(cloud.node("**")).setLocalType();
        return cloud;
    }
View Full Code Here

Examples of org.hibernate.ogm.backendtck.associations.collection.unidirectional.Cloud

  public void removeCloudAndSnowflakes() {
    Session session = sessions.openSession();
    Transaction transaction = session.beginTransaction();

    if ( cloud != null ) {
      Cloud cloudToDelete = (Cloud) session.get( Cloud.class, cloud.getId() );
      for ( SnowFlake current : cloudToDelete.getProducedSnowFlakes() ) {
        session.delete( current );
      }
      for ( SnowFlake current : cloudToDelete.getBackupSnowFlakes() ) {
        session.delete( current );
      }
      session.delete( cloudToDelete );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.