src/main/java/org/jboss/loom/recog/ServerRecognizer.java
private VersionRange recognizeVersion( Class<? extends IServerType> typeClass, File serverRootDir ) throws MigrationException{
        IServerType type = instantiate( typeClass );
        return type.recognizeVersion( serverRootDir );
        // TODO: Could be called statically?
    }
/**
     *  Asks given IServerType what version is in the given directory.
     *  TODO: Make method of IServerType?
     *  @deprecated  Use IServerType.recognizeVersion();
     */
Asks given IServerType what version is in the given directory.
TODO: Make method of IServerType.
Asks given IServerType what version is in the given directory . TODO : Make method of IServerType .
private VersionRange recognizeVersion( Class<? extends IServerType> typeClass, File serverRootDir ) throws MigrationException{
        IServerType type = instantiate( typeClass );
        return type.recognizeVersion( serverRootDir );
    }
private VersionRange recognizeVersion ( Class < ? extends IServerType > typeClass , File serverRootDir ) throws MigrationException { IServerType type = instantiate ( typeClass ) ; return type . recognizeVersion ( serverRootDir ) ; }
Asks given IServerType what version is in the given directory.
Asks given IServerType what version is in the given directory .
// TODO: Could be called statically?