public class Server extends Object
| Constructor and Description |
|---|
Server() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgentVersion()
Return the version of the Contrast agent that's monitoring this server.
|
List<Application> |
getApplications()
Return the list of applications in this server
|
boolean |
getAssess()
Return the server assess value
|
long |
getAssessLastUpdate()
Return the last assess update for this server
|
boolean |
getAssessPending()
Return is the server changing Assess on restart
|
boolean |
getAssessSensors()
Return if the server has assess sensors
|
String |
getContainer()
Return the server's container
|
boolean |
getDefend()
Return the server defend value
|
boolean |
getDefendPending()
Return is the server changing Defend on restart
|
String |
getEnvironment()
Return the server's environment type
TODO values
|
String |
getHostname()
Return the hostname of this server.
|
long |
getLastActivity()
Return the last time any activity was received from this server.
|
long |
getLastStartup()
Return the last time this server was restarted.
|
long |
getLastTraceReceived()
Return the last time a trace was received from this server.
|
boolean |
getLogEnhancerPending()
Return Is server changing Log Enhancers on restart
|
String |
getLogLevel()
Return the server log level
|
String |
getLogPath()
Return the path to the servers log
|
String |
getName()
Return the name of this server.
|
boolean |
getNoPending()
Return Is server changing any settings on restart
|
long |
getNumberApps()
Return the number of applications for this server
|
String |
getPath()
Return the path on disk of this server, e.g., /opt/tomcat6/
|
long |
getServerId()
Return the id of this server
|
String |
getStatus()
Return the status of this server
Values: ONLINE,OFFLINE
|
String |
getType()
Return the Contrast "server code" for the server, e.g., "jboss5".
|
public long getServerId()
public String getName()
public String getHostname()
public long getLastStartup()
public List<Application> getApplications()
public long getLastTraceReceived()
public long getLastActivity()
public long getNumberApps()
public String getPath()
public String getStatus()
public String getType()
public String getAgentVersion()
public boolean getAssess()
public boolean getAssessPending()
public boolean getDefend()
public boolean getDefendPending()
public String getContainer()
public String getEnvironment()
public boolean getLogEnhancerPending()
public String getLogLevel()
public String getLogPath()
public boolean getNoPending()
public boolean getAssessSensors()
public long getAssessLastUpdate()
Copyright © 2021 Contrast Security. All rights reserved.