All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.mongoose.scenario.json.step.BasicTaskStep Maven / Gradle / Ivy

There is a newer version: 4.0.0-alpha5
Show newest version
package com.emc.mongoose.scenario.json.step;

import com.emc.mongoose.ui.config.Config;

/**
 Created by andrey on 07.06.16.
 */
public final class BasicTaskStep
implements Step {

	private final Runnable task;

	public BasicTaskStep(final Runnable task) {
		this.task = task;
	}

	@Override
	public final Config getConfig() {
		return null;
	}

	@Override
	public final void close() {
	}

	@Override
	public final void run() {
		task.run();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy