Class JdkImpl

  • All Implemented Interfaces:
    Jdk

    public class JdkImpl
    extends java.lang.Object
    implements Jdk
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String vendor  
      protected java.lang.String version  
    • Constructor Summary

      Constructors 
      Constructor Description
      JdkImpl​(java.lang.String version, java.lang.String vendor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVendor()
      The vendor of the Java runtime environment.
      java.lang.String getVersion()
      The version of the Java runtime environment.
      void setVendor​(java.lang.String vendor)  
      void setVersion​(java.lang.String version)  
      • Methods inherited from class java.lang.Object

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

      • version

        protected java.lang.String version
      • vendor

        protected java.lang.String vendor
    • Constructor Detail

      • JdkImpl

        public JdkImpl​(java.lang.String version,
                       java.lang.String vendor)
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: Jdk
        The version of the Java runtime environment.
        Specified by:
        getVersion in interface Jdk
      • setVersion

        public void setVersion​(java.lang.String version)
      • getVendor

        public java.lang.String getVendor()
        Description copied from interface: Jdk
        The vendor of the Java runtime environment.
        Specified by:
        getVendor in interface Jdk
      • setVendor

        public void setVendor​(java.lang.String vendor)