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

prompto.debug.response.GetProcessStatusDebugResponse Maven / Gradle / Ivy

The newest version!
package prompto.debug.response;

import java.util.Objects;

import prompto.debug.ProcessStatus;

public class GetProcessStatusDebugResponse implements IDebugResponse {

	ProcessStatus processStatus;
	
	public GetProcessStatusDebugResponse() {
	}

	public GetProcessStatusDebugResponse(ProcessStatus status) {
		this.processStatus = status;
	}
	
	public ProcessStatus getProcessStatus() {
		return processStatus;
	}
	
	public void setProcessStatus(ProcessStatus status) {
		this.processStatus = status;
	}
	
	@Override
	public int hashCode() {
		return Objects.hash(processStatus);
	}

	
	@Override
	public boolean equals(Object other) {
		return this == other || (other instanceof GetProcessStatusDebugResponse && ((GetProcessStatusDebugResponse)other).equals(this));
	}
	
	public boolean equals(GetProcessStatusDebugResponse other) {
		return processStatus == other.processStatus;
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy