Examples of ProjectInfo


Examples of com.dianping.cat.report.page.cross.display.ProjectInfo

    }

    for (String domainName : domains) {
      if (m_configManger.validateDomain(domainName)) {
        CrossReport crossReport = m_reportService.queryCrossReport(domainName, start, end);
        ProjectInfo projectInfo = new ProjectInfo(TimeHelper.ONE_HOUR);

        projectInfo.setHostinfoService(m_hostinfoService);
        projectInfo.setClientIp(Constants.ALL);
        projectInfo.visitCrossReport(crossReport);
        Collection<TypeDetailInfo> callInfos = projectInfo.getCallProjectsInfo();

        for (TypeDetailInfo typeInfo : callInfos) {
          String project = typeInfo.getProjectName();

          if (!validataService(project)) {
View Full Code Here

Examples of easysm.datatypes.information.ProjectInfo

      stGino = new Name("Gino");
      stTino = new Name("Tino");
    } catch (InvalidNameException e) {
      //
    }
    ProjectInfo projectInfo = new ProjectInfo(name, "Test", "Test");
    main.doNewProject(projectInfo);
  }
View Full Code Here

Examples of easysm.datatypes.information.ProjectInfo

      ePine = new Name("pine");
      eIffy = new Name("iffy");
    } catch (InvalidNameException e) {
      //
    }
    ProjectInfo projectInfo = new ProjectInfo(name, "Test", "Test");
    main.doNewProject(projectInfo);
  }
View Full Code Here

Examples of easysm.datatypes.information.ProjectInfo

      soPine = new Name("Pine");
      soIffy = new Name("Iffy");
    } catch (InvalidNameException e) {
      //
    }
    ProjectInfo projectInfo = new ProjectInfo(name, "Test", "Test");
    main.doNewProject(projectInfo);
  }
View Full Code Here

Examples of easysm.datatypes.information.ProjectInfo

   *
   */

  public void newProject(Name name, String author, String version)
  {
    main().doNewProject(new ProjectInfo(name, author, version));
  }
View Full Code Here

Examples of io.fathom.cloud.identity.api.os.model.v3.Token.ProjectInfo

        model.name = domain.getName();
        return model;
    }

    private ProjectInfo toModel(DomainData domain, ProjectData project) {
        ProjectInfo model = new ProjectInfo();
        model.id = Long.toString(project.getId());
        model.name = project.getName();
        model.domain = toModel(domain);
        return model;
    }
View Full Code Here

Examples of mmrnmhrm.core.workspace.ProjectInfo

  }
 
  protected Object[] getProjectChildren(IProject project) {
    ArrayList<Object> arrayList = new ArrayList<>();
    if(project.isAccessible()) {
      ProjectInfo projectInfo = getWorkspaceModel().getProjectInfo(project);
      if(projectInfo != null) {
        DubDependenciesContainer dubContainer = projectInfo.getDubContainer(project);
        arrayList.add(dubContainer);
        arrayList.add(new StdLibContainer(projectInfo.getCompilerInstall(), project));
      }
     
      // Add project children ourselves: this is so that children will be sorted by our own sorter.
      // (otherwise only Platform Navigator sorter will be used)
      // Navigator ResourceExtension will also add this, but they will not appear duplicated because they
View Full Code Here

Examples of org.eclipse.core.internal.resources.ProjectInfo

                //any locks, and just lock if it's not (which is needed to avoid a racing condition creating more
                //than 1 nature).
                try {
                    if (project instanceof Project) {
                        Project p = (Project) project;
                        ProjectInfo info = (ProjectInfo) p.getResourceInfo(false, false);
                        IProjectNature nature = info.getNature(PYTHON_NATURE_ID);
                        if (nature instanceof PythonNature) {
                            return (PythonNature) nature;
                        }
                    }
                } catch (Throwable e) {
View Full Code Here

Examples of org.eclipse.orion.server.core.metastore.ProjectInfo

    //path format is /file/{workspaceId}/{projectName}[/path]
    final IMetaStore metaStore = OrionConfiguration.getMetaStore();
    WorkspaceInfo workspace = metaStore.readWorkspace(path.segment(1));
    assertNotNull(workspace);
    ProjectInfo wp = metaStore.readProject(workspace.getUniqueId(), path.segment(2));
    assertNotNull(wp);
    String userId = workspace.getUserId();
    assertNotNull(userId);
    IFileStore fsStore = getProjectStore(wp, userId);
    fsStore = fsStore.getFileStore(path.removeFirstSegments(3));
View Full Code Here

Examples of org.eclipse.orion.server.core.metastore.ProjectInfo

  protected IFileStore tempGetFileStore(IPath path) {
    //path format is /workspaceId/projectName/[suffix]
    if (path.segmentCount() <= 1)
      return null;
    try {
      ProjectInfo project = OrionConfiguration.getMetaStore().readProject(path.segment(0), path.segment(1));
      if (project == null)
        return null;
      return project.getProjectStore().getFileStore(path.removeFirstSegments(2));
    } catch (CoreException e) {
      logger.error(NLS.bind("An error occurred when getting file store for path {0}", path), e);
      // fallback and return null
    }
    return null;
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.