Class ClusterHost.ServerVersion
java.lang.Object
org.pidome.server.services.cluster.ClusterHost.ServerVersion
- Enclosing class:
- ClusterHost
The server version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBuild()
getDate()
int
getMajor()
int
getMinor()
getName()
int
getPatch()
getType()
boolean
protected void
setBuild(int build)
protected void
protected void
setMajor(int major)
protected void
setMinor(int minor)
protected void
protected void
setPatch(int patch)
protected void
setSnapshot(boolean snapshot)
protected void
-
Constructor Details
-
ServerVersion
public ServerVersion()
-
-
Method Details
-
getMajor
public int getMajor()- Returns:
- the major
-
setMajor
protected void setMajor(int major)- Parameters:
major
- the major to set
-
getMinor
public int getMinor()- Returns:
- the minor
-
setMinor
protected void setMinor(int minor)- Parameters:
minor
- the minor to set
-
getPatch
public int getPatch()- Returns:
- the patch
-
setPatch
protected void setPatch(int patch)- Parameters:
patch
- the patch to set
-
getBuild
public int getBuild()- Returns:
- the build
-
setBuild
protected void setBuild(int build)- Parameters:
build
- the build to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type
- the type to set
-
getDate
- Returns:
- the date
-
setDate
- Parameters:
date
- the date to set
-
isSnapshot
public boolean isSnapshot()- Returns:
- the snapshot
-
setSnapshot
protected void setSnapshot(boolean snapshot)- Parameters:
snapshot
- the snapshot to set
-