当前位置: 首页>>代码示例>>Java>>正文


Java BuildInput类代码示例

本文整理汇总了Java中org.metaborg.core.build.BuildInput的典型用法代码示例。如果您正苦于以下问题:Java BuildInput类的具体用法?Java BuildInput怎么用?Java BuildInput使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


BuildInput类属于org.metaborg.core.build包,在下文中一共展示了BuildInput类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@Override public ITask<? extends IBuildOutput<P, A, AU, T>> build(final BuildInput input,
    final @Nullable IProgress progressReporter, final @Nullable ICancel cancellationToken) {
    return new BlockingTask<>(new Func0<IBuildOutput<P, A, AU, T>>() {
        @Override public IBuildOutput<P, A, AU, T> call() {
            final IProgress pr = progressReporter != null ? progressReporter : new NullProgress();
            final ICancel ct = cancellationToken != null ? cancellationToken : new NullCancel();
            try {
                return builder.build(input, pr, ct);
            } catch(InterruptedException e) {
            }
            return null;
        }
    });
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:15,代码来源:BlockingProcessor.java

示例2: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@Override public ITask<? extends IBuildOutput<P, A, AU, T>> build(BuildInput input, @Nullable IProgress progress,
    @Nullable ICancel cancel) {
    return processor.build(input, progress, cancel);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:5,代码来源:ProcessorRunner.java

示例3: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@SuppressWarnings("unchecked") public ITask<ISpoofaxBuildOutput> build(BuildInput input,
    @Nullable IProgress progress, @Nullable ICancel cancel) {
    return (ITask<ISpoofaxBuildOutput>) super.build(input, progress, cancel);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:5,代码来源:SpoofaxProcessorRunner.java

示例4: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@SuppressWarnings("unchecked") @Override public ITask<ISpoofaxBuildOutput> build(BuildInput input,
    @Nullable IProgress progress, @Nullable ICancel cancel) {
    return (ITask<ISpoofaxBuildOutput>) super.build(input, progress, cancel);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:5,代码来源:SpoofaxBlockingProcessor.java

示例5: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@Override ISpoofaxBuildOutput build(BuildInput input, IProgress progress, ICancel cancel)
throws InterruptedException;
 
开发者ID:metaborg,项目名称:spoofax,代码行数:3,代码来源:ISpoofaxBuilder.java

示例6: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@Override public ISpoofaxBuildOutput build(BuildInput input, IProgress progress,
    ICancel cancel) throws InterruptedException {
    return (ISpoofaxBuildOutput) super.build(input, progress, cancel);
}
 
开发者ID:metaborg,项目名称:spoofax,代码行数:5,代码来源:SpoofaxBuilder.java

示例7: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
/**
 * Creates a task that builds with given build input.
 * 
 * @param input
 *            Build input to use.
 * @param progress
 *            Progress reporter, or null to use a processor-specific implementation for progress reporting.
 * @param cancel
 *            Cancellation token, or null to a use a processor-specific implementation for cancellation.
 * @return Task that builds with given input, and has the build output as result. Schedule the task and wait for it
 *         to complete to get the build output.
 */
ITask<? extends IBuildOutput<P, A, AU, T>> build(BuildInput input, @Nullable IProgress progress,
    @Nullable ICancel cancel);
 
开发者ID:metaborg,项目名称:spoofax,代码行数:15,代码来源:IProcessorRunner.java

示例8: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
/**
 * @see IProcessorRunner#build(BuildInput, IProgress, ICancel)
 */
ITask<? extends IBuildOutput<P, A, AU, T>> build(BuildInput input, @Nullable IProgress progressReporter,
    @Nullable ICancel cancellationToken);
 
开发者ID:metaborg,项目名称:spoofax,代码行数:6,代码来源:IProcessor.java

示例9: build

import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
ITask<ISpoofaxBuildOutput> build(BuildInput input, @Nullable IProgress progress,
    @Nullable ICancel cancel);
 
开发者ID:metaborg,项目名称:spoofax,代码行数:6,代码来源:ISpoofaxProcessor.java


注:本文中的org.metaborg.core.build.BuildInput类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。