Examples of Version


Examples of com.sk89q.skmcl.application.Version

        this.version = version;
    }

    @Override
    public Version getLatestStable() throws IOException, InterruptedException {
        Version release = getReleaseList().find(
                getReleaseList().getLatest().getRelease());
        if (release != null) {
            return release;
        } else {
            throw new IOException("Failed to get latest stable release");
View Full Code Here

Examples of com.slytechs.utils.number.Version

   * (non-Javadoc)
   *
   * @see org.jnetstream.capture.file.BlockRecord#getVersion()
   */
  public Version getVersion() throws IOException {
    return new Version((int) this.getMajorVersion(), this.getMinorVersion());
  }
View Full Code Here

Examples of com.sun.appserv.server.util.Version

    private void invokeLocal() {

        GlassFishBranding br = new GlassFishBranding();
        br.postConstruct();
        Version version = new Version();
        version.setBranding(br);
        version.postConstruct();

        String fv = Version.getFullVersion();

        logger.info(terse ? fv : strings.get("version.local", fv));
        if (verbose)
View Full Code Here

Examples of com.sun.enterprise.admin.jmx.remote.protocol.Version

    }
   
    public MBeanServerResponseMessage handle(MBeanServerRequestMessage request0) {
    assert (request0.getParams().length >= 1) : "Invalid Object Array"; //has to have at least one elem
        MBeanServerResponseMessage response = null;
    final Version cv = (Version)request0.getParams()[0];
    logger.finer("Client Version = " + cv.toString());
    if (! isCompatible(cv)) {
      response = incompatibleVersionMessage(request0);
      return ( response );
    }
    //should come here iff the version is compatible.
View Full Code Here

Examples of com.sun.faces.config.JSFVersionTracker.Version

                    //  be registered using something other than
                    //  the faces-config.xml, if this is the case,
                    //  the assume that we're using a 1.2 implementation.
                    boolean viewHandlerIsOld;
                    boolean stateManagerIsOld;
                    Version toTest = tracker.
                          getVersionForTrackedClassName(viewHandler
                                .getClass().getName());
                    if (toTest != null) {
                        Version currentVersion = tracker.getCurrentVersion();


                        viewHandlerIsOld = (toTest.compareTo(currentVersion) < 0);
                        toTest = tracker.
                             getVersionForTrackedClassName(facesContext
View Full Code Here

Examples of com.sun.messaging.jmq.Version

    /**
     * Print banner.
     * XXX REVISIT 07/26/00 nakata: Add build number to M_BANNER
     */
    public static void printBanner() {
        Version version = new Version(false);
        CommonGlobals.stdOutPrintln(version.getBanner(false));
    }
View Full Code Here

Examples of com.sun.sgs.impl.util.AbstractService.Version

    @Test
    public void testConstructedVersion() throws Exception {
  txnScheduler.runTask(new TestAbstractKernelRunnable() {
    public void run() {
        Version version = (Version)
      dataService.getServiceBinding(VERSION_KEY);
        if (version.getMajorVersion() != MAJOR_VERSION ||
      version.getMinorVersion() != MINOR_VERSION)
        {
      fail("Expected service version (major=" +
           MAJOR_VERSION + ", minor=" + MINOR_VERSION +
           "), got:" + version);
        }
View Full Code Here

Examples of com.sun.star.corba.giop.Version

    MessageHeader_1_1 messageHeader = new MessageHeader_1_1(dataInputStream.readByte(),
                                dataInputStream.readByte(),
                                dataInputStream.readByte(),
                                dataInputStream.readByte(),
                                new Version(dataInputStream.readByte(), // version major
                                      dataInputStream.readByte()), // version minor
                                dataInputStream.readByte(), // flags
                                dataInputStream.readByte(),
                                dataInputStream.readInt());
   
View Full Code Here

Examples of com.sun.xml.ws.transport.tcp.util.Version

       
        final int[] versionInfo = new int[4];
       
        DataInOutUtils.readInts4(inputStream, versionInfo, 4);
       
        final Version clientFramingVersion = new Version(versionInfo[0], versionInfo[1]);
        final Version clientConnectionManagementVersion = new Version(versionInfo[2], versionInfo[3]);
       
        final VersionController versionController = VersionController.getInstance();
       
        final boolean isSupported = versionController.isVersionSupported(
                clientFramingVersion, clientConnectionManagementVersion);
       
        final OutputStream outputStream = connection.openOutputStream();
       
        final Version framingVersion = isSupported ? clientFramingVersion :
            versionController.getClosestSupportedFramingVersion(clientFramingVersion);
        final Version connectionManagementVersion = isSupported ? clientConnectionManagementVersion :
            versionController.getClosestSupportedConnectionManagementVersion(clientConnectionManagementVersion);
       
        DataInOutUtils.writeInts4(outputStream,
                framingVersion.getMajor(),
                framingVersion.getMinor(),
                connectionManagementVersion.getMajor(),
                connectionManagementVersion.getMinor());
        connection.flush();
       
       
        connection.setDirectMode(false);
       
View Full Code Here

Examples of com.taskadapter.redmineapi.bean.Version

        USER_PARSER));
    return result;
  }

  public static Version parseVersion(JSONObject content) throws JSONException {
    final Version result = VersionFactory.create(JsonInput.getIntOrNull(content, "id"));
    result.setProject(JsonInput.getObjectOrNull(content, "project",
        MINIMAL_PROJECT_PARSER));
    result.setName(JsonInput.getStringOrNull(content, "name"));
    result.setDescription(JsonInput.getStringOrNull(content, "description"));
    result.setSharing(JsonInput.getStringOrNull(content, "sharing"));
    result.setStatus(JsonInput.getStringOrNull(content, "status"));
    result.setDueDate(getShortDateOrNull(content, "due_date"));
    result.setCreatedOn(getDateOrNull(content, "created_on"));
    result.setUpdatedOn(getDateOrNull(content, "updated_on"));
    result.addCustomFields(JsonInput.getListOrEmpty(content,
        "custom_fields", RedmineJSONParser.CUSTOM_FIELD_PARSER));
    return result;
  }
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.