@Override
    public String getServerType() {
        if (serverType.startsWith("dependency-")) {
            return serverType.substring(11);
        }
        if (serverType.startsWith("gav-")) {
            int index = serverType.indexOf("-", 4);
            if (index > 0) {
                return serverType.substring(4, index);
            }
        }
        return serverType;
    }
@Override
    public String getServerType() {
        if (serverType.startsWith("dependency-")) {
            return serverType.substring(11);
        }
        if (serverType.startsWith("gav-")) {
            int index = serverType.indexOf("-", 4);
            if (index > 0) {
                return serverType.substring(4, index);
            }
        }
        return serverType;
    }
@ Override public String getServerType ( ) { if ( serverType . startsWith ( "dependency-" ) ) { return serverType . substring ( 11 ) ; } if ( serverType . startsWith ( "gav-" ) ) { int index = serverType . indexOf ( "-" , 4 ) ; if ( index > 0 ) { return serverType . substring ( 4 , index ) ; } } return serverType ; }
Get the server type.

@return The server type.
Get the server type .