Package de.scoopgmbh.copper.management

Examples of de.scoopgmbh.copper.management.WorkflowRepositoryMXBean


    return dbStorage.selectAuditTrailMessage(id);
  }

  @Override
  public List<WorkflowClassMetaData> getWorkflowClassesList(final String engineId) throws RemoteException {
    WorkflowRepositoryMXBean workflowRepository = getWorkflowRepository(engineId);
    if (workflowRepository!=null){
      List<WorkflowClassMetaData> result = new ArrayList<WorkflowClassMetaData>();
      for (WorkflowClassInfo workflowClassInfo: workflowRepository.getWorkflows()){
        result.add(new WorkflowClassMetaData(
            workflowClassInfo.getClassname(),
            workflowClassInfo.getAlias(),
            workflowClassInfo.getMajorVersion(),
            workflowClassInfo.getMinorVersion(),
View Full Code Here


 
  private List<ProcessingEngineInfo> createProcessingEngineInfos(){
    ArrayList<ProcessingEngineInfo> result = new ArrayList<ProcessingEngineInfo>();
    for (ProcessingEngineMXBean engine: engines.values()){
      WorkflowRepositoryInfo workflowRepositoryInfo = new WorkflowRepositoryInfo();
      WorkflowRepositoryMXBean workflowRepository = engine.getWorkflowRepository();
      workflowRepositoryInfo.setName(workflowRepository.getDescription());
      workflowRepositoryInfo.setSrcPaths(Collections.<String>emptyList());
      workflowRepositoryInfo.setWorkflowRepositorTyp(WorkflowRepositorTyp.UNKOWN);
      if (workflowRepository instanceof FileBasedWorkflowRepositoryMXBean){
        workflowRepositoryInfo.setWorkflowRepositorTyp(WorkflowRepositorTyp.FILE);
        FileBasedWorkflowRepositoryMXBean fileBasedRepo = (FileBasedWorkflowRepositoryMXBean)workflowRepository;
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.management.WorkflowRepositoryMXBean

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.