Examples of version()


Examples of com.google.gwt.requestfactory.shared.JsonRpcWireName.version()

      if (annotation == null) {
        toReturn.operation = declarationMethod.getEnclosingType().getQualifiedBinaryName()
            + "::" + declarationMethod.getName();
      } else {
        toReturn.operation = annotation.value();
        toReturn.apiVersion = annotation.version();
      }
    }

    public void setEntityType(EntityProxyModel entityType) {
      toReturn.entityType = entityType;
View Full Code Here

Examples of com.google.web.bindery.requestfactory.shared.JsonRpcWireName.version()

        data = new RequestData(operation, actualArgs, returnType, elementType);
      } else {
        // Calculate request metadata
        JsonRpcWireName wireInfo = method.getReturnType().getAnnotation(
            JsonRpcWireName.class);
        String apiVersion = wireInfo.version();
        String operation = wireInfo.value();

        int foundContent = -1;
        final String[] parameterNames = args == null ? new String[0]
            : new String[args.length];
View Full Code Here

Examples of com.googlecode.jsonplugin.annotations.SMD.version()

        //customize SMD
        SMD smdAnnotation = (SMD) clazz.getAnnotation(SMD.class);
        if (smdAnnotation != null) {
            smd.setObjectName(smdAnnotation.objectName());
            smd.setServiceType(smdAnnotation.serviceType());
            smd.setVersion(smdAnnotation.version());
        }

        //get public methods
        Method[] methods = JSONUtil.listSMDMethods(clazz, ignoreInterfaces);
View Full Code Here

Examples of com.kpelykh.docker.client.DockerClient.version()

  public final void execute() throws MojoExecutionException, MojoFailureException {
    MavenLogAppender.setLog(getLog());

    try {
      final DockerClient docker = new DockerClient(host.toString());
      getLog().info("Docker version " + docker.version().getVersion());
      doExecute(new DockerOrchestrator(docker, src(), workDir(), prefix, null));
    } catch (Exception e) {
      throw new MojoExecutionException(e.getMessage(), e);
    }
  }
View Full Code Here

Examples of com.moesol.geoserver.sync.json.Sha1SyncJson.version()

      Sha1SyncJson localSha1SyncJson = grouper.getJson();
     
      Sha1SyncJson outputSha1SyncJson = new Sha1SyncJson().level(m_server.level());
      // Copy over some of the local properties
      outputSha1SyncJson.max(localSha1SyncJson.max());
      outputSha1SyncJson.version(localSha1SyncJson.version());
     
      ClientReconciler recon = new ClientReconciler(localSha1SyncJson, m_server);
      recon.setDelete(m_deleter);
      recon.computeOutput(outputSha1SyncJson);
      return outputSha1SyncJson;
View Full Code Here

Examples of com.redhat.ceylon.compiler.java.metadata.Module.version()

            final String mn = runtimeModule.name();
            if (name.equals(mn) == false) {
                throw new CeylonRuntimeException("Input module name doesn't match module's name: " + name + " != " + mn);
            }

            final String version = runtimeModule.version();
            if (mv.equals(version) == false && Constants.DEFAULT.toString().equals(name) == false) {
                throw new CeylonRuntimeException("Input module version doesn't match module's version: " + mv + " != " + version);
            }
        } else if (Constants.DEFAULT.toString().equals(name) == false) {
            // Don't throw, we might be executing a plain Java module!
View Full Code Here

Examples of com.redhat.ceylon.compiler.java.runtime.Main.ClassPath.Module.version()

            jars.add(jar);
            ClassPath classPath = new Main.ClassPath(jars);
            Module module = classPath.loadModule("foo.foo", "1");
            assertNotNull(module);
            assertEquals("foo.foo", module.name());
            assertEquals("1", module.version());
            assertEquals(3, module.dependencies.size());
            assertTrue(module.dependencies.contains(new ClassPath.Dependency("a.a", "1", false, false)));
            assertTrue(module.dependencies.contains(new ClassPath.Dependency("b.b", "2", false, true)));
            assertTrue(module.dependencies.contains(new ClassPath.Dependency("c.c", "3", true, false)));
        }finally{
View Full Code Here

Examples of com.saasovation.common.event.sourcing.EventStream.version()

        this.eventStore.appendWith(eventId, events);

        EventStream eventStream = this.eventStore.fullEventStreamFor(eventId);

        assertEquals(2, eventStream.version());
        assertEquals(2, eventStream.events().size());

        for (int idx = 1; idx <= 2; ++idx) {
            DomainEvent domainEvent = eventStream.events().get(idx - 1);
View Full Code Here

Examples of com.sun.jdi.VirtualMachine.version()

        if (vm != null) {

            System.out.println("java.vm.name = " + vm.name());

            System.out.println("java.version = " + vm.version());

            System.out.println(vm.description());

            vm.resume();
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.version()

    public void writeEpisodeFile(XmlSerializer out) {
        Bindings root = TXW.create(Bindings.class, out);

        if(namespaces.containsKey("")) // otherwise jaxb binding NS should be the default namespace
            root._namespace(WellKnownNamespace.JAXB,"jaxb");
        root.version("2.1");
        // TODO: don't we want to bake in versions?

        // generate listing per schema
        for (Map.Entry<String,Namespace> e : namespaces.entrySet()) {
            Bindings group = root.bindings();
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.