Class AgentModel
- java.lang.Object
-
- com.sumologic.jenkins.jenkinssumologicplugin.model.BaseModel
-
- com.sumologic.jenkins.jenkinssumologicplugin.model.AgentModel
-
public class AgentModel extends BaseModel
Created by deven on 8/6/15.Updated by Sourabh Jain 05/2019
-
-
Field Summary
Fields Modifier and Type Field Description protected int
numberOfExecutors
protected int
numberOfFreeExecutors
-
Constructor Summary
Constructors Constructor Description AgentModel()
AgentModel(int numberOfExecutors, int numberOfFreeExecutors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventSource()
Map<String,Object>
getMonitorData()
String
getNodeLabel()
String
getNodeName()
String
getNodeStatus()
String
getNodeURL()
int
getNumberOfExecutors()
int
getNumberOfFreeExecutors()
String
getReasonOffline()
boolean
isConnecting()
boolean
isIdle()
boolean
isOnline()
boolean
isRemoved()
void
setConnecting(boolean connecting)
void
setEventSource(String eventSource)
void
setIdle(boolean idle)
void
setMonitorData(Map<String,Object> monitorData)
void
setNodeLabel(String nodeLabel)
void
setNodeName(String nodeName)
void
setNodeStatus(String nodeStatus)
void
setNodeURL(String nodeURL)
void
setNumberOfExecutors(int numberOfExecutors)
void
setNumberOfFreeExecutors(int numberOfFreeExecutors)
void
setOnline(boolean online)
void
setReasonOffline(String reasonOffline)
void
setRemoved(boolean removed)
String
toString()
-
Methods inherited from class com.sumologic.jenkins.jenkinssumologicplugin.model.BaseModel
getEventTime, getLogType, setEventTime, setLogType
-
-
-
-
Method Detail
-
getNumberOfExecutors
public int getNumberOfExecutors()
-
setNumberOfExecutors
public void setNumberOfExecutors(int numberOfExecutors)
-
getNumberOfFreeExecutors
public int getNumberOfFreeExecutors()
-
setNumberOfFreeExecutors
public void setNumberOfFreeExecutors(int numberOfFreeExecutors)
-
setNodeName
public void setNodeName(String nodeName)
-
setNodeLabel
public void setNodeLabel(String nodeLabel)
-
setNodeStatus
public void setNodeStatus(String nodeStatus)
-
setIdle
public void setIdle(boolean idle)
-
setOnline
public void setOnline(boolean online)
-
setReasonOffline
public void setReasonOffline(String reasonOffline)
-
setRemoved
public void setRemoved(boolean removed)
-
setConnecting
public void setConnecting(boolean connecting)
-
setNodeURL
public void setNodeURL(String nodeURL)
-
setEventSource
public void setEventSource(String eventSource)
-
getNodeName
public String getNodeName()
-
getNodeLabel
public String getNodeLabel()
-
getNodeStatus
public String getNodeStatus()
-
isIdle
public boolean isIdle()
-
isOnline
public boolean isOnline()
-
getReasonOffline
public String getReasonOffline()
-
isRemoved
public boolean isRemoved()
-
isConnecting
public boolean isConnecting()
-
getNodeURL
public String getNodeURL()
-
getEventSource
public String getEventSource()
-
-