本文整理汇总了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;
}
});
}
示例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);
}
示例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);
}
示例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);
}
示例5: build
import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
@Override ISpoofaxBuildOutput build(BuildInput input, IProgress progress, ICancel cancel)
throws InterruptedException;
示例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);
}
示例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);
示例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);
示例9: build
import org.metaborg.core.build.BuildInput; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
ITask<ISpoofaxBuildOutput> build(BuildInput input, @Nullable IProgress progress,
@Nullable ICancel cancel);