prompto.debug.request.GetWorkersDebugRequest Maven / Gradle / Ivy
The newest version!
package prompto.debug.request;
import java.util.Collection;
import prompto.debug.IDebugger;
import prompto.debug.response.GetWorkersDebugResponse;
import prompto.debug.worker.IWorker;
public class GetWorkersDebugRequest implements IDebugRequest {
public GetWorkersDebugRequest() {
}
@Override
public GetWorkersDebugResponse execute(IDebugger debugger) {
Collection extends IWorker> workers = debugger.getWorkers();
return new GetWorkersDebugResponse(workers);
}
@Override
public int hashCode() {
return this.getClass().hashCode();
}
@Override
public boolean equals(Object other) {
return other==this || other instanceof GetWorkersDebugRequest;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy