Examples of complete()


Examples of org.fireflow.engine.impl.ProcessInstance.complete()

            // 执行ProcessInstance的complete操作

            IToken tk = e.getToken();
           
            ProcessInstance currentProcessInstance = (ProcessInstance) tk.getProcessInstance();
            currentProcessInstance.complete();
        }
    }
}
View Full Code Here

Examples of org.fireflow.kernel.IActivityInstance.complete()

              + "对应的token.alive=false,因此无法完成complete操作");
    }

    token.setProcessInstance(processInstance);

    thisActivityInstance.complete(token, targetActivityInstance);

  }

  /* (non-Javadoc)
   * @see org.fireflow.engine.taskinstance.ITaskInstanceManager#abortTaskInstanceEx(org.fireflow.engine.IWorkflowSession, org.fireflow.engine.IProcessInstance, org.fireflow.engine.ITaskInstance, java.lang.String)
View Full Code Here

Examples of org.geotools.util.DefaultProgressListener.complete()

               
            }
           
            @Override
            public void complete() {
                adaptee.complete();
                LOGGER.info("completed");
            }
        };
       
       
View Full Code Here

Examples of org.geotools.util.ProgressListener.complete()

        progress.progress( 1.0f );
        assertEquals("test finished", 100.0, monitor.work, 0.01 );
        assertEquals("test finished", 100.0, monitor.total, 0.01 );
       
        assertEquals("almost done", false, monitor.done );      
        progress.complete();
        assertEquals("test done", true, monitor.done );
       
    }
}
View Full Code Here

Examples of org.glassfish.api.admin.ProgressStatus.complete()

                            ProgressStatus child = effected.createChild(event.getSource().getName(), event.getAllocatedSteps());
                            map.put(event.getSource().getId(), child);
                            child.setTotalStepCount(event.getSource().getTotalStepCount());
                            child.setCurrentStepCount(event.getSource().getCurrentStepCount());
                            if (event.getSource().isCompleted()) {
                                child.complete();
                            }
                        }
                        break;
                    case COMPLETED:
                        effected.complete(event.getMessage());
View Full Code Here

Examples of org.gradle.api.internal.artifacts.ivyservice.resolveengine.result.ResolutionResultBuilder.complete()

                TransientConfigurationResultsBuilder oldTransientModelBuilder = new TransientConfigurationResultsBuilder(oldModelStore, oldModelCache);
                DefaultResolvedConfigurationBuilder oldModelBuilder = new DefaultResolvedConfigurationBuilder(oldTransientModelBuilder);

                builder.resolve(configuration, newModelBuilder, oldModelBuilder);
                DefaultLenientConfiguration result = new DefaultLenientConfiguration(configuration, oldModelBuilder, cacheLockingManager);
                results.resolved(new DefaultResolvedConfiguration(result), newModelBuilder.complete());
            }
        });
    }

    private ArtifactResolver createArtifactResolver(RepositoryChain repositoryChain) {
View Full Code Here

Examples of org.gradle.api.internal.artifacts.ivyservice.resolveengine.result.StreamingResolutionResultBuilder.complete()

                TransientConfigurationResultsBuilder oldTransientModelBuilder = new TransientConfigurationResultsBuilder(oldModelStore, oldModelCache);
                DefaultResolvedConfigurationBuilder oldModelBuilder = new DefaultResolvedConfigurationBuilder(oldTransientModelBuilder);

                builder.resolve(configuration, newModelBuilder, oldModelBuilder);
                DefaultLenientConfiguration result = new DefaultLenientConfiguration(configuration, oldModelBuilder, cacheLockingManager);
                results.resolved(new DefaultResolvedConfiguration(result), newModelBuilder.complete());
            }
        });
    }

    private ArtifactResolver createArtifactResolver(RepositoryChain repositoryChain) {
View Full Code Here

Examples of org.gradle.api.reporting.components.internal.ComponentReportRenderer.complete()

        if (binaries != null) {
            renderer.renderBinaries(binaries);
        }

        renderer.completeProject(project);
        renderer.complete();
    }
}
View Full Code Here

Examples of org.gradle.api.tasks.diagnostics.internal.ReportRenderer.complete()

            for (Project project : projects) {
                renderer.startProject(project);
                generate(project);
                renderer.completeProject(project);
            }
            renderer.complete();
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

Examples of org.gudy.azureus2.plugins.update.Update.complete()

          ResourceDownloader      downloader,
          ResourceDownloaderException e )
        {
          Debug.out( downloader.getName() + " failed", e );
         
          update.complete( false );
        }
          });
      }
    }catch( Throwable e ){
      Logger.log(new LogAlert(LogAlert.UNREPEATABLE,
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.