@GET
    @Path("{dbName}/scripts/{revision}")
    public ScriptInfo script(@PathParam("dbName") String dbName, @PathParam("revision") String revision) {
        Migration migration = locator.getService(Migration.class, dbName);
        if (migration == null)
            throw new NotFoundException();
        return migration.getScript(revision);
    }
@ GET @ Path ( "{dbName}/scripts/{revision}" ) public ScriptInfo script ( @ PathParam ( "dbName" ) String dbName , @ PathParam ( "revision" ) String revision ) { Migration migration = locator . getService ( Migration . class , dbName ) ; if ( migration == null ) throw new NotFoundException ( ) ; return migration . getScript ( revision ) ; }
<p>script.</p>

@param dbName   a {@link java.lang.String} object.
@param revision a {@link java.lang.String} object.
@return a {@link ameba.db.migration.models.ScriptInfo} object.