Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Class: AnalysisServerVersion

Last update: 22.06.2026

Package: com.phoenix_int.aserver.client.v2

Class Hierarchy

↳ java.lang.Object
  ↳ com.phoenix_int.aserver.client.v2.AnalysisServerVersion

Implemented Interfaces

  • java.lang.Comparable<AnalysisServerVersion>

Declaration

public class AnalysisServerVersion
extends java.lang.Object
implements java.lang.Comparable<AnalysisServerVersion>

Server protocol version. Useful for determining if a server supports specific features.

Constructor Summary

Constructor and Description
AnalysisServerVersion(int major, int minor, int build)
Constructor.

Method Summary

Modifier and Type Method and Description
int compareTo(AnalysisServerVersion o)
boolean equals(java.lang.Object obj)
int getBuild()
Get the build.
int getMajor()
Get the major version.
int getMinor()
Get the minor version.
int hashCode()
java.lang.String toString()

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

AnalysisServerVersion

public AnalysisServerVersion(int major,
                             int minor,
                             int build)

Constructor.

Parameters:

  • major - the major version
  • minor - the minor version
  • build - the build number

Method Detail

getMajor

public int getMajor()

Get the major version.

getMinor

public int getMinor()

Get the minor version.

getBuild

public int getBuild()

Get the build.

hashCode

public int hashCode()

Overrides:

  • hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:

  • equals in class java.lang.Object

compareTo

public int compareTo(AnalysisServerVersion o)

Specified by:

  • compareTo in interface java.lang.Comparable<AnalysisServerVersion>

toString

public java.lang.String toString()

Overrides:

  • toString in class java.lang.Object

Connect with Ansys