public class SlaveServerDetection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SlaveServerDetection.SlaveRelationShip |
Constructor and Description |
---|
SlaveServerDetection(Node node) |
SlaveServerDetection(SlaveServer slaveServer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object ssd) |
Date |
getLastActiveDate() |
Date |
getLastInactiveDate() |
static SlaveServerDetection.SlaveRelationShip |
getSlaveRelationShip(String code) |
SlaveServer |
getSlaveServer() |
String |
getXML() |
int |
hashCode() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setLastActiveDate(Date lastActiveDate) |
void |
setLastInactiveDate(Date lastInactiveDate) |
void |
setSlaveServer(SlaveServer slaveServer) |
public static final String XML_TAG
public SlaveServerDetection(SlaveServer slaveServer)
public SlaveServerDetection(Node node)
public static final SlaveServerDetection.SlaveRelationShip getSlaveRelationShip(String code)
public String getXML()
public SlaveServer getSlaveServer()
public void setSlaveServer(SlaveServer slaveServer)
slaveServer
- the slaveServer to setpublic boolean isActive()
public void setActive(boolean active)
active
- the active to setpublic Date getLastActiveDate()
public void setLastActiveDate(Date lastActiveDate)
lastActiveDate
- the lastActiveDate to setpublic Date getLastInactiveDate()
public void setLastInactiveDate(Date lastInactiveDate)
lastInactiveDate
- the lastInactiveDate to setCopyright © 2018 Hitachi Vantara. All rights reserved.