class ShouldForkResult {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ShouldForkResult that = (ShouldForkResult) o;
        return shouldFork == that.shouldFork &&
                Objects.equal(reason, that.reason);
    }

    private  ShouldForkResult(boolean shouldFork, String reason);

}