io.gem.api.RemoteResponse Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) KMG. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package io.gem.api;
/**
* Class RemoteResponse.
*/
public final class RemoteResponse {
/**
* int returnCode
.
*/
public final int returnCode;
/**
* String stdOutput
.
*/
public final String stdOutput;
/**
* String errOutput
.
*/
public final String errOutput;
/**
* String host
.
*/
public final String host;
/**
* The constructor RemoteResponse is responsible for initializing all values.
*
* @param returnCode int
* @param stdOutput String
* @param errOutput String
* @param host String
*/
public RemoteResponse(int returnCode, String stdOutput, String errOutput, String host) {
this.returnCode = returnCode;
this.stdOutput = stdOutput;
this.errOutput = errOutput;
this.host = host;
}
}