public class DockerComputer extends hudson.slaves.AbstractCloudComputer<DockerSlave> implements org.jenkinsci.plugins.cloudstats.TrackedItem
Modifier and Type | Field and Description |
---|---|
protected String |
cloudId |
protected String |
containerId
remember associated container id
|
protected String |
displayName |
protected org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
provisioningId |
Constructor and Description |
---|
DockerComputer(DockerSlave dockerSlave) |
Modifier and Type | Method and Description |
---|---|
DockerCloud |
getCloud() |
String |
getCloudId() |
String |
getContainerId() |
String |
getDisplayName() |
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
getId() |
void |
setDisplayName(String displayName) |
void |
taskAccepted(hudson.model.Executor executor,
hudson.model.Queue.Task task) |
void |
taskCompleted(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS) |
void |
taskCompletedWithProblems(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS,
Throwable problems) |
String |
toString() |
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getIcon, getJnlpJars, getJnlpMac, getLauncher, getListener, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setNode, tryReconnect
_doScript, addAction, buildEnvironment, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doScript, doScriptText, doToggleOffline, getACL, getActions, getApi, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDisplayExecutors, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIconClassName, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasPermission, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, removeExecutor, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnline
doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceAction
protected final String containerId
protected final String cloudId
protected String displayName
protected org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id provisioningId
public DockerComputer(DockerSlave dockerSlave)
@CheckForNull public DockerCloud getCloud()
public void setDisplayName(String displayName)
@Nonnull public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in class hudson.model.Computer
public void taskAccepted(hudson.model.Executor executor, hudson.model.Queue.Task task)
taskAccepted
in interface hudson.model.ExecutorListener
taskAccepted
in class hudson.slaves.SlaveComputer
public void taskCompleted(hudson.model.Executor executor, hudson.model.Queue.Task task, long durationMS)
taskCompleted
in interface hudson.model.ExecutorListener
taskCompleted
in class hudson.slaves.SlaveComputer
public void taskCompletedWithProblems(hudson.model.Executor executor, hudson.model.Queue.Task task, long durationMS, Throwable problems)
taskCompletedWithProblems
in interface hudson.model.ExecutorListener
taskCompletedWithProblems
in class hudson.slaves.SlaveComputer
public String getContainerId()
public String getCloudId()
@Nullable public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId
in interface org.jenkinsci.plugins.cloudstats.TrackedItem
Copyright © 2016–2020. All rights reserved.