Class OpenShiftVersionInfo

java.lang.Object
org.openshift.jenkins.plugins.openshiftlogin.OpenShiftVersionInfo

public class OpenShiftVersionInfo extends Object
Represents openshift server version information. This is from https://SERVER/version
  • Field Details

    • major

      public String major
    • minor

      public String minor
    • gitVersion

      public String gitVersion
  • Constructor Details

    • OpenShiftVersionInfo

      public OpenShiftVersionInfo()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isOpenShift3Cluster

      public boolean isOpenShift3Cluster()
    • isOpenShift4Cluster

      public boolean isOpenShift4Cluster()