Examples of ProcessInfo


Examples of com.ytec.jdap.model.ProcessInfo

        String appId = (String) dataModel.getValueAt(row, 1);
        String appName = (String) table.getValueAt(row, 2);
        try {
          Application application = ConfigMamager.getReader().getAppById(appId);
          if (column == 2) {// ���
            ProcessInfo info = ProcessTookit.getIProcessManager().getProcessInfo(appId);
            if (info != null && !info.isWatching() && Application.RUNNING.equals(application.getState())) {// ��ֹͨ��Ӧ�ô򿪶����������
              new MonitorFrame(appId, appName);
              info.setWatching(true);
            }
          } else if (column == 4) {// ����
            mainFrame.publishFrame(mainFrame, appId);
          } else if (column == 5) {// ֹͣ
            if (Application.STOPED.equals(application.getState())) {
View Full Code Here

Examples of net.csdn.modules.http.processor.ProcessInfo

        @Override
        public void handle(String s, Request request, final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws IOException, ServletException {

            DefaultResponse channel = new DefaultResponse(httpServletRequest, httpServletResponse, restController);
            ProcessInfo processInfo = new ProcessInfo();
            try {

                RestRequest restRequest = new DefaultRestRequest(httpServletRequest);
                HttpServer.setHttpHolder(new HttpHolder(restRequest, channel));
                Tuple<Class<ApplicationController>, Method> tuple = restController.getHandler(restRequest);
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.ProcessInfo

 
  public List<String> getAliensPidsOnly() {
    ArrayList<String> list = new ArrayList<String>();
    Iterator<ProcessInfo> iterator = alienPids.iterator();
    while(iterator.hasNext()) {
      ProcessInfo processInfo = iterator.next();
      list.add(processInfo.getPid());
    }
    return list;
  }
View Full Code Here

Examples of org.compiere.process.ProcessInfo

    this.setTitle(m_Name);
    message.setText(m_messageText.toString());
    bOK.setText(Msg.getMsg(Env.getCtx(), "Start"));

    //  Similar to APanel.actionButton
    m_pi = new ProcessInfo(m_Name, m_AD_Process_ID);
    m_pi.setAD_User_ID (Env.getAD_User_ID(Env.getCtx()));
    m_pi.setAD_Client_ID(Env.getAD_Client_ID(Env.getCtx()));
    parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi);
    centerPanel.removeAll();
    if (parameterPanel.init()) {
View Full Code Here

Examples of org.drools.bpmn2.legacy.beta1.di.ProcessDiagramHandler.ProcessInfo

        NodeInfo nodeInfo = new NodeInfo(id, eventRef);
        nodeInfo.setX(new Float(x).intValue());
        nodeInfo.setY(new Float(y).intValue());
        nodeInfo.setWidth(new Float(width).intValue());
        nodeInfo.setHeight(new Float(height).intValue());
        ProcessInfo processInfo = (ProcessInfo) parser.getParent();
        processInfo.addNodeInfo(nodeInfo);
        return nodeInfo;
    }
View Full Code Here

Examples of org.drools.bpmn2.legacy.beta1.di.ProcessDiagramHandler.ProcessInfo

        ConnectionInfo info = new ConnectionInfo(sequenceFlowRef);
        final String sourceRef = attrs.getValue("sourceRef");
        final String targetRef = attrs.getValue("targetRef");
        info.setSourceRef(sourceRef);
        info.setTargetRef(targetRef);
        ProcessInfo processInfo = (ProcessInfo) parser.getParent();
        processInfo.addConnectionInfo(info);
        return info;
    }
View Full Code Here

Examples of org.drools.bpmn2.xml.di.BPMNPlaneHandler.ProcessInfo

                        final Attributes attrs, final ExtensibleXmlParser parser)
            throws SAXException {
        parser.startElementBuilder(localName, attrs);
        final String elementRef = attrs.getValue("bpmnElement");
        NodeInfo nodeInfo = new NodeInfo(elementRef);
        ProcessInfo processInfo = (ProcessInfo) parser.getParent();
        processInfo.addNodeInfo(nodeInfo);
        return nodeInfo;
    }
View Full Code Here

Examples of org.drools.eclipse.ProcessInfo

        if ( !file.exists() ) {
            return markers;
        }
        try {
            String input = convertToString( file.getContents() );
            ProcessInfo processInfo =
                    DroolsEclipsePlugin.getDefault().parseProcess( input,
                                                                   file );
            if ( processInfo != null ) {
                markParseErrors( markers,
                                 processInfo.getErrors() );
            }
        } catch ( Exception t ) {
            t.printStackTrace();
            String message = t.getMessage();
            if ( message == null || message.trim().equals( "" ) ) {
View Full Code Here

Examples of org.drools.eclipse.ProcessInfo

                    }
                    return false;
                } else if ("rf".equals(resource.getFileExtension())) {
                    try {
                        String processString = convertToString(file.getContents());
                        ProcessInfo processInfo = DroolsEclipsePlugin.getDefault().parseProcess(processString, resource);
                        if (processInfo != null && processInfo.getProcess() != null) {
                            String packageName = processInfo.getProcess().getPackageName();
                            Package pkg = ruleSet.getPackage(packageName);
                            if (pkg == null) {
                                pkg = DroolsModelBuilder.addPackage(ruleSet, packageName, 0, 0);
                            }
                            Process process = DroolsModelBuilder.addProcess(pkg, processInfo.getProcess().getId(), file);
                            List droolsElements = (List) resourcesMap.get(file);
                            if (droolsElements == null) {
                                droolsElements = new ArrayList();
                                resourcesMap.put(file, droolsElements);
                            }
View Full Code Here

Examples of org.drools.eclipse.ProcessInfo

        if ( !file.exists() ) {
            return markers;
        }
        try {
            String input = convertToString( file.getContents() );
            ProcessInfo processInfo =
                    DroolsEclipsePlugin.getDefault().parseProcess( input,
                                                                   file );
            if ( processInfo != null ) {
                markParseErrors( markers,
                                 processInfo.getErrors() );
            }
        } catch ( Exception t ) {
            t.printStackTrace();
            String message = t.getMessage();
            if ( message == null || message.trim().equals( "" ) ) {
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.