rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/impl/Run.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 18 Apr 2013 09:06:18 +0200
branchfx
changeset 1007 66ccab5a3530
permissions -rw-r--r--
Can execute tests in FX web view.
jaroslav@1007
     1
/**
jaroslav@1007
     2
 * Back 2 Browser Bytecode Translator
jaroslav@1007
     3
 * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@1007
     4
 *
jaroslav@1007
     5
 * This program is free software: you can redistribute it and/or modify
jaroslav@1007
     6
 * it under the terms of the GNU General Public License as published by
jaroslav@1007
     7
 * the Free Software Foundation, version 2 of the License.
jaroslav@1007
     8
 *
jaroslav@1007
     9
 * This program is distributed in the hope that it will be useful,
jaroslav@1007
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@1007
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@1007
    12
 * GNU General Public License for more details.
jaroslav@1007
    13
 *
jaroslav@1007
    14
 * You should have received a copy of the GNU General Public License
jaroslav@1007
    15
 * along with this program. Look for COPYING file in the top folder.
jaroslav@1007
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@1007
    17
 */
jaroslav@1007
    18
jaroslav@1007
    19
package org.apidesign.bck2brwsr.launcher.impl;
jaroslav@1007
    20
jaroslav@1007
    21
/**
jaroslav@1007
    22
 *
jaroslav@1007
    23
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jaroslav@1007
    24
 */
jaroslav@1007
    25
public final class Run implements Runnable {
jaroslav@1007
    26
    private final Runnable r;
jaroslav@1007
    27
    Run(Runnable r) {
jaroslav@1007
    28
        this.r = r;
jaroslav@1007
    29
    }
jaroslav@1007
    30
jaroslav@1007
    31
    @Override
jaroslav@1007
    32
    public void run() {
jaroslav@1007
    33
        r.run();
jaroslav@1007
    34
    }
jaroslav@1007
    35
}