com.iwillfailyou.plugin.Failures Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-plugin Show documentation
Show all versions of java-plugin Show documentation
Iwillfailyou java plugin library
The newest version!
package com.iwillfailyou.plugin;
import java.net.URL;
public interface Failures {
void failIfRed() throws IwfyException;
void show(Ui ui) throws IwfyException;
void publish(URL url) throws IwfyException;
final class Fake implements Failures {
@Override
public void failIfRed() {
// ignored
}
@Override
public void show(final Ui ui) {
// ignored
}
@Override
public void publish(final URL url) {
// ignored
}
}
}