Class CmakeInstaller.CmakeVariant

java.lang.Object
hudson.plugins.cmake.CmakeInstaller.CmakeVariant
Enclosing class:
CmakeInstaller

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class CmakeInstaller.CmakeVariant extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    OS architecture as specified by the cmake.org download site
    OS name as specified by the cmake.org download site
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    appliesTo(hudson.plugins.cmake.CmakeInstaller.OsFamily osFamily, String nodeOsArch)
    Checks whether an installation of this CmakeVariant will work on the given node.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • url

      public String url
    • os

      public String os
      OS name as specified by the cmake.org download site
    • arch

      public String arch
      OS architecture as specified by the cmake.org download site
  • Constructor Details

    • CmakeVariant

      public CmakeVariant()
  • Method Details

    • appliesTo

      public boolean appliesTo(hudson.plugins.cmake.CmakeInstaller.OsFamily osFamily, String nodeOsArch)
      Checks whether an installation of this CmakeVariant will work on the given node. This checks the given JVM system properties of a node.
      Parameters:
      osFamily - the OS family derived from the JVM system property "os.name" of the node
      nodeOsArch - the value of the JVM system property "os.arch" of the node