Examples of version()


Examples of ca.canucksoftware.webos.DeviceInfo.version()

        } else { //unknown
            imgURL = getClass().getResource("resources/Palm Pre 2 64x64.png");
        }
        jLabel7.setIcon(new ImageIcon(imgURL));
        jLabel2.setText(bundle.getString("DEVICE:") + "    " + info.name());
        jLabel1.setText(bundle.getString("OS:") + "    webOS " + info.version());
        jLabel5.setText(bundle.getString("ARCHITECTURE:") + "    " + info.arch());
        jLabel10.setText(bundle.getString("BUILD_NAME:") + "    " + info.buildName());
        jLabel4.setText(bundle.getString("BUILD_TIME:") + "    " + info.buildTime());

        if(!info.model().equals(DeviceInfo.Model.Emulator.toString())) {
View Full Code Here

Examples of ch.racic.testing.annotation.TargetOS.version()

            notifier.fireTestIgnored(description);
        } else if (method.getAnnotation(TargetOS.class) != null) {
            final TargetOS tos = method.getAnnotation(TargetOS.class);
            String name = tos.name().equals("") ? null : tos.name();
            String arch = tos.arch().equals("") ? null : tos.arch();
            String version = tos.version().equals("") ? null : tos.version();
            if (OS.isOs(tos.family(), name, arch, version)) {
                runLeaf(methodBlock(method), description, notifier);
            } else {
                notifier.fireTestIgnored(description);
            }
View Full Code Here

Examples of com.amazonaws.services.simpleworkflow.flow.annotations.Activities.version()

        if (activitiesAnnotation != null) {
            String interfaceName = interfaze.getSimpleName();
            if (!nullOrEmpty(activitiesAnnotation.activityNamePrefix())) {
                parentOptions.setPrefix(activitiesAnnotation.activityNamePrefix());
            }
            if (!nullOrEmpty(activitiesAnnotation.version())) {
                parentOptions.setVersion(activitiesAnnotation.version());
            }
            converter = (converter == null) ? createConverter(activitiesAnnotation.dataConverter()) : converter;
            ActivityRegistrationOptions interfaceRegistrationOptionsAnnotation = interfaze.getAnnotation(ActivityRegistrationOptions.class);
            SkipTypeRegistration interfaceSkipTypeRegistrationAnnotation = interfaze.getAnnotation(SkipTypeRegistration.class);
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfFile.version()

        disconfCenterFile.setFileName(disconfFileAnnotation.filename());

        //
        // disConfCommonModel
        DisConfCommonModel disConfCommonModel = makeDisConfCommonModel(
                disconfFileAnnotation.env(), disconfFileAnnotation.version());
        disconfCenterFile.setDisConfCommonModel(disConfCommonModel);

        // Remote URL
        String url = DisconfWebPathMgr.getRemoteUrlParameter(
                DisClientSysConfig.getInstance().CONF_SERVER_STORE_ACTION,
View Full Code Here

Examples of com.baidu.disconf.client.common.annotations.DisconfItem.version()

        }

        //
        // disConfCommonModel
        DisConfCommonModel disConfCommonModel = makeDisConfCommonModel(
                disconfItem.env(), disconfItem.version());
        disconfCenterItem.setDisConfCommonModel(disConfCommonModel);

        // Disconf-web url
        String url = DisconfWebPathMgr.getRemoteUrlParameter(
                DisClientSysConfig.getInstance().CONF_SERVER_STORE_ACTION,
View Full Code Here

Examples of com.enragedginger.stephenerialization.annotations.Stephenerializable.version()

    final Stephenerializable annotation = clazz.getAnnotation(Stephenerializable.class);
    if (annotation == null) {
      throw new StephenerializationException("The class " + clazz.getName() + " cannot be Stephenerialized "
          + "because it lacks a Stephenerializable annotation.");
    } else {
      final int version = annotation.version();
      final Set<StephenerializableField> fields = getFieldFactory().generateFields(clazz, version);
      try {
        streamer.writeInt(version); // write the version out to the stream
        for (StephenerializableField field : fields) {
          writeField(object, clazz, field.getField(), streamer);
View Full Code Here

Examples of com.fasterxml.clustermate.client.NodesForKey.version()

        KeyHash hash = new KeyHash(fullHash, _keyspace.getLength());
        int currVersion = _version.get();
        int modulo = hash.getModuloHash();
        NodesForKey nodes = _routing.get(modulo);
        // fast (and common) case: pre-calculated, valid info exists:
        if (nodes != null && nodes.version() == currVersion) {
            return nodes;
        }
        NodesForKey newNodes = _calculateNodes(currVersion, hash);
        _routing.compareAndSet(modulo, nodes, newNodes);
        return newNodes;
View Full Code Here

Examples of com.github.masahirosuzuka.PhoneGapIntelliJPlugin.commandLine.PhoneGapCommandLine.version()

    PhoneGapCommandLine commandLine = new PhoneGapCommandLine(path, workDir);
    if (!commandLine.isCorrectExecutable()) {
      error.set(PhoneGapBundle.message("phonegap.plugins.executable.error"));
      return commandLine;
    }
    version.set(commandLine.version());

    if (pathError) {
      error.set(PhoneGapBundle.message("phonegap.plugins.executable.work.path.error", commandLine.getPlatformName()));
      return commandLine;
    }
View Full Code Here

Examples of com.google.gerrit.common.ClientVersion.version()

    btmmenu.add(keyHelp);

    String vs;
    if (GWT.isScript()) {
      final ClientVersion v = GWT.create(ClientVersion.class);
      vs = v.version().getText();
      if (vs.startsWith("v")) {
        vs = vs.substring(1);
      }
    } else {
      vs = "dev";
View Full Code Here

Examples of com.google.gwt.chrome.crx.client.Extension.ManifestInfo.version()

      GeneratorContext context, JClassType userType)
      throws UnableToCompleteException {
    final ManifestInfo spec = userType.getAnnotation(Extension.ManifestInfo.class);
    if (spec != null) {
      return new ExtensionArtifact(spec.name(), spec.description(),
          spec.version(), spec.permissions(), spec.updateUrl(),
          createIconResources(logger, context, userType, spec.icons()),
          spec.publicKey());
    }

    logger.log(TreeLogger.ERROR,
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.