![JAR search and dependency download from the Maven repository](/logo.png)
com.viaoa.sync.model.ServerInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oa-core Show documentation
Show all versions of oa-core Show documentation
Object Automation library
/* Copyright 1999 Vince Via [email protected]
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
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.viaoa.sync.model;
import java.io.Serializable;
import com.viaoa.util.OADateTime;
/**
* Information about a single instance of a Server.
*/
public class ServerInfo implements Serializable{
private static final long serialVersionUID = 1L;
/** created time */
protected OADateTime created;
/** server information */
protected String hostName;
protected String ipAddress;
protected String version;
protected boolean discoveryEnabled;
/** flag to know when the start method was called. */
private volatile boolean started;
/** flag to know if server has been suspended. */
private volatile boolean suspended;
public ServerInfo() {
}
public OADateTime getCreated() {
return created;
}
public void setCreated(OADateTime newValue) {
this.created = newValue;
}
public String getIpAddress() {
return ipAddress;
}
public void setIpAddress(String newValue) {
this.ipAddress = newValue;
}
public String getHostName() {
return hostName;
}
public void setHostName(String newValue) {
this.hostName = newValue;
}
public String getVersion() {
return version;
}
public void setVersion(String newValue) {
this.version = newValue;
}
public boolean isStarted() {
return started;
}
public void setStarted(boolean started) {
this.started = started;
}
public boolean isSuspended() {
return suspended;
}
public void setSuspended(boolean suspended) {
this.suspended = suspended;
}
public boolean isDiscoveryEnabled() {
return discoveryEnabled;
}
public void setDiscoveryEnabled(boolean b) {
this.discoveryEnabled = b;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy