@Override
    public boolean equals(Object obj) {

        if (obj == null || !(obj instanceof GuacamoleProtocolVersion))
            return false;

        // Versions are equal if all major/minor/patch components are identical
        final GuacamoleProtocolVersion otherVersion = (GuacamoleProtocolVersion) obj;
        return this.major == otherVersion.getMajor()
            && this.minor == otherVersion.getMinor()
            && this.patch == otherVersion.getPatch();

    }
Parse the String format of the version provided and return the
the enum value matching that version.  If no value is provided, return
null.

@param version
    The String format of the version to parse.

@return
    The enum value that matches the specified version, VERSION_1_0_0
    if no match is found, or null if no comparison version is provided.
guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleProtocolVersion.java