Examples of Version


Examples of com.atlassian.jira.rest.client.domain.Version

    final String description = JsonParseUtil.getOptionalString(json, "description");
    final boolean isArchived = json.getBoolean("archived");
    final boolean isReleased = json.getBoolean("released");
    final String releaseDateStr = JsonParseUtil.getOptionalString(json, "releaseDate");
    final DateTime releaseDate = parseReleaseDate(releaseDateStr);
    return new Version(self, id, name, description, isArchived, isReleased, releaseDate);
  }
View Full Code Here

Examples of com.cedarsoft.Version

*/
public class ExtraSerializer extends AbstractStaxSerializer<Extra> {
  //START SNIPPET: fieldsAndConstructors

  public ExtraSerializer( MoneySerializer moneySerializer ) {
    super( "extra", "http://thecompany.com/test/extra", new VersionRange( new Version( 1, 5, 0 ), new Version( 1, 5, 0 ) ) );
    //We choose another version number. Maybe this is an old serializer that has been created within another project.

    add( moneySerializer ).responsibleFor( Money.class )
      .map( 1, 5, 0 ).toDelegateVersion( 1, 0, 0 )
    ;
View Full Code Here

Examples of com.cedarsoft.version.Version

   */
  @Nonnull
  protected T deserializeInternal( @Nonnull JsonParser parser, @Nullable Version formatVersionOverride ) throws IOException, JsonProcessingException, InvalidTypeException {
    JacksonParserWrapper parserWrapper = new JacksonParserWrapper( parser );

    Version version = prepareDeserialization( parserWrapper, formatVersionOverride );

    T deserialized = deserialize( parser, version );

    if ( isObjectType() ) {
      if ( parserWrapper.getCurrentToken() != JsonToken.END_OBJECT ) {
View Full Code Here

Examples of com.celum.dbtool.step.Version

    {
        if (versionUpdateSqlScript == null || versionUpdateSqlScript.isEmpty()) {
            return;
        }

        Version v = step.getVersion();
        Map<String, Object> args = new HashMap<String, Object>();
        args.put("version", v);
        args.put("name", step.getName());
        args.putAll(variables);
View Full Code Here

Examples of com.cloud.agent.transport.Request.Version

                    super.doTask(task);
                    return;
                }

                final byte[] data = task.getData();
                Version ver = Request.getVersion(data);
                if (ver.ordinal() != Version.v1.ordinal() && ver.ordinal() != Version.v3.ordinal()) {
                    s_logger.warn("Wrong version for clustered agent request");
                    super.doTask(task);
                    return;
                }
View Full Code Here

Examples of com.darkhonor.rage.model.Version

    @Test
    public void testCheckDbVersion()
    {
        System.out.println("checkDbVersion");
        assertTrue(instance.isOpen());
        Version appVersion = new Version(new Double(2.1));
        boolean expResult = true;
        boolean result = instance.checkDbVersion(appVersion);
        assertEquals(expResult, result);
        assertTrue(instance.isOpen());
    }
View Full Code Here

Examples of com.day.jcr.vault.packaging.Version

        JcrUtil.copy(thumbnailNode, packageOneDefNode, "thumbnail.png");
    }

    @Test
    public void testGetNextVersion_incrementMinor() throws Exception {
        final Version expected = Version.create("2.1.0");
        final Version actual = packageHelper.getNextVersion(jcrPackageManager,
                packageGroup, packageName, "1.0.0");

        assertEquals(expected.toString(), actual.toString());
    }
View Full Code Here

Examples of com.dubture.getcomposer.core.entities.Version

    versions.addSelectionChangedListener(new ISelectionChangedListener() {
      public void selectionChanged(SelectionChangedEvent event) {
        Object elem = ((IStructuredSelection)event.getSelection()).getFirstElement();
        if (elem instanceof Version) {
          prepareCustomVersion();
          Version v = (Version)elem;
          customVersion.setMajor(v.getMajor());
          customVersion.setMinor(v.getMinor());
          customVersion.setFix(v.getFix());
          customVersion.setDevPosition(v.getDevPosition());
          customVersion.setStability(v.getStability());
          customVersion.setSuffix(v.getSuffix());
          version.from(customVersion);
        }
      }
    });
    versions.setComparator(new VersionSorter());
View Full Code Here

Examples of com.emc.esu.api.Version

            itime = itimeParser.parse(sitime);
          } catch (ParseException e1) {
            throw new EsuException("Could not parse itime: " + sitime, e1);
          }
                   
                    objs.add(new Version(id, versionNumber, itime));
                } else {
                    l4j.debug( o + " is not an Element!" );
                }
            }
           
View Full Code Here

Examples of com.esotericsoftware.yamlbeans.Version

  Version defaultVersion, documentVersion;
  final Production[] table = new Production[46];
  Event peekedEvent;

  public Parser (Reader reader) {
    this(reader, new Version(1, 1));
  }
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.