public class OutageSummary extends Object implements Comparable<OutageSummary>, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
nodeId |
protected String |
nodeLabel |
protected Date |
timeDown |
protected Date |
timeNow |
protected Date |
timeUp |
Constructor and Description |
---|
OutageSummary() |
OutageSummary(int nodeId,
String nodeLabel,
Date timeDown)
Constructor for OutageSummary.
|
OutageSummary(int nodeId,
String nodeLabel,
Date timeDown,
Date timeUp)
Constructor for OutageSummary.
|
OutageSummary(int nodeId,
String nodeLabel,
Date timeDown,
Date timeUp,
Date timeNow)
Constructor for OutageSummary.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OutageSummary that) |
String |
getFuzzyTimeDown()
getFuzzyTimeDown
|
String |
getHostname()
getHostname
|
int |
getNodeId()
Getter for the field
nodeId . |
String |
getNodeLabel()
Getter for the field
nodeLabel . |
Date |
getTimeDown()
Getter for the field
timeDown . |
Date |
getTimeUp()
Getter for the field
timeUp . |
String |
toString()
toString
|
protected int nodeId
protected String nodeLabel
protected Date timeDown
protected Date timeUp
protected Date timeNow
public OutageSummary()
public OutageSummary(int nodeId, String nodeLabel, Date timeDown, Date timeUp, Date timeNow)
Constructor for OutageSummary.
public OutageSummary(int nodeId, String nodeLabel, Date timeDown, Date timeUp)
Constructor for OutageSummary.
public int getNodeId()
Getter for the field nodeId
.
public String toString()
toString
public int compareTo(OutageSummary that)
compareTo
in interface Comparable<OutageSummary>
Copyright © 2016. All rights reserved.