Package response.logic
                Record Class StatusResponse
java.lang.Object
                
            java.lang.Record
                    
            response.logic.StatusResponse
                - 
                        
Constructor Summary
ConstructorsConstructorDescriptionStatusResponse(String response, int code, Object... args) Creates an instance of aStatusResponserecord class. - 
                        
Method Summary
Modifier and TypeMethodDescriptionObject[]args()Returns the value of theargsrecord component.intcode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.response()Returns the value of theresponserecord component.toLocalizedCommandResponse(ResourceBundle bundleWithStr) final StringtoString()Returns a string representation of this record class. 
- 
                        
Constructor Details
- 
                                    
StatusResponse
Creates an instance of aStatusResponserecord class.- Parameters:
 response- the value for theresponserecord componentcode- the value for thecoderecord componentargs- the value for theargsrecord component
 
 - 
                                    
 - 
                        
Method Details
- 
                                    
toCommandResponse
 - 
                                    
toLocalizedCommandResponse
 - 
                                    
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. - 
                                    
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. - 
                                    
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. - 
                                    
response
Returns the value of theresponserecord component.- Returns:
 - the value of the 
responserecord component 
 - 
                                    
code
public int code()Returns the value of thecoderecord component.- Returns:
 - the value of the 
coderecord component 
 - 
                                    
args
Returns the value of theargsrecord component.- Returns:
 - the value of the 
argsrecord component 
 
 -