com.darwinsys.tools.LinkStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of darwinsys-api Show documentation
Show all versions of darwinsys-api Show documentation
Ian Darwin's assorted Java stuff,
assembled as an API.
package com.darwinsys.tools;
// record LinkStatus(boolean ok, String message) {}
class LinkStatus {
boolean ok;
String message;
public LinkStatus(boolean status, String message) {
this.ok = status;
this.message = message;
}
@Override
public String toString() {
return ok + " " + message;
}
}