Examples of version()


Examples of org.h2.jaqu.Table.JQTable.version()

            // allow control over createTableIfRequired()
            createTableIfRequired = tableAnnotation.createIfRequired();

            // model version
            if (tableAnnotation.version() > 0) {
                tableVersion = tableAnnotation.version();
            }

            // setup the primary index, if properly annotated
            List<String> primaryKey = getColumns(tableAnnotation.primaryKey());
View Full Code Here

Examples of org.im4java.core.IMOperation.version()

   */
  private boolean imageMagickAvailable() {
    try {
      ConvertCmd cmd = new ConvertCmd();
      IMOperation versionOp = new IMOperation();
      versionOp.version();
      cmd.run(versionOp);
      logger.debug("ImageMagick detected and found to be working");
      return true;
    } catch (Throwable e) {
      logger.info("ImageMagick not available: {}", e.getMessage());
View Full Code Here

Examples of org.infinispan.metadata.Metadata.version()

      return converter.unboxValue(ret);
   }

   private void addVersionIfNeeded(MetadataAwareCommand cmd) {
      Metadata metadata = cmd.getMetadata();
      if (metadata.version() == null) {
         Metadata newMetadata = metadata.builder()
               .version(versionGenerator.generateNew())
               .build();
         cmd.setMetadata(newMetadata);
      }
View Full Code Here

Examples of org.jacorb.orb.etf.ProfileBase.version()

        {
            out.println("\tProfile Id:\t\t" + i);

            ProfileBase profile = (ProfileBase)profiles.get(i);
            out.println("\tIIOP Version:\t\t" +
                               (int)profile.version().major + "." +
                               (int)profile.version().minor);
            if (profile instanceof IIOPProfile)
            {
                out.println("\tHost:\t\t\t" +
                  ((IIOPAddress)((IIOPProfile)profile).getAddress()).getOriginalHost());
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPProfile.version()

        {
            out.println("\tProfile Id:\t\t" + i);

            IIOPProfile profile = (IIOPProfile)profiles.get(i);
            out.println("\tIIOP Version:\t\t" +
                               (int)profile.version().major + "." +
                               (int)profile.version().minor);

            out.println("\tHost:\t\t\t" +
                               ((IIOPAddress)profile.getAddress()).getOriginalHost());
            int port = ((IIOPAddress)profile.getAddress()).getPort();
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.ejbjar31.EjbJarDescriptor.version()

    }

    public EjbJarDescriptor build() {

        EjbJarDescriptor ejbJarDescriptor = Descriptors.create(EjbJarDescriptor.class);
        ejbJarDescriptor.version(ArchiveBuilder.DEFAULT_EJB_VERSION);
        EnterpriseBeansType<EjbJarDescriptor> enterpriseBeansType = ejbJarDescriptor.getOrCreateEnterpriseBeans();

        if (messageDrivenBeans != null && !messageDrivenBeans.isEmpty()) {
            for (MessageDriven messageDriven : messageDrivenBeans) {
                MessageDrivenBeanType<EnterpriseBeansType<EjbJarDescriptor>> messageDrivenBeanType = enterpriseBeansType
View Full Code Here

Examples of org.jclouds.compute.domain.ImageBuilder.version()

      }

      String version = on(".").join(limit(skip(splits, 1), splits.size() - 2));
      osBuilder.version(version);

      builder.version(getLast(splits));
      return builder.operatingSystem(osBuilder.build()).build();
   }

   private OperatingSystem.Builder defaultOperatingSystem(Image image) {
      return OperatingSystem.builder()
View Full Code Here

Examples of org.jclouds.compute.domain.OperatingSystem.Builder.version()

      builder.family(family);
      if (family != UNRECOGNIZED)
         version = parseVersionOrReturnEmptyString(family, version, osVersionMap);
      if ("".equals(version))
         version = from.getVersion();
      builder.version(version);
      return builder.build();
   }
}
View Full Code Here

Examples of org.kie.api.cdi.KReleaseId.version()

                    KReleaseId kReleaseId = ip.getAnnotated().getAnnotation( KReleaseId.class );
                    ReleaseId releaseId = null;
                    if ( kReleaseId != null ) {
                        releaseId = ks.newReleaseId(kReleaseId.groupId(),
                                                    kReleaseId.artifactId(),
                                                    kReleaseId.version());
                        gavs.put(releaseId,
                                  null );
                    }

                    Class< ? extends Annotation> scope = ApplicationScoped.class;
View Full Code Here

Examples of org.kie.cdi.KReleaseId.version()

                KReleaseId KReleaseId = ip.getAnnotated().getAnnotation( KReleaseId.class );
                ReleaseId releaseId = null;
                if ( KReleaseId != null ) {
                    releaseId = ks.newReleaseId(KReleaseId.groupId(),
                            KReleaseId.artifactId(),
                            KReleaseId.version());
                    gavs.put(releaseId,
                              null );
                }

                Named namedAnn = ip.getAnnotated().getAnnotation( Named.class );
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.