Package com.amazon.jenkins.ec2fleet
Class EC2FleetNodeComputer
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Computer
hudson.slaves.SlaveComputer
com.amazon.jenkins.ec2fleet.EC2FleetNodeComputer
- All Implemented Interfaces:
- ExtensionPoint,- DescriptorByNameOwner,- ExecutorListener,- ModelObject,- SearchableModelObject,- SearchItem,- AccessControlled,- IComputer,- ModelObjectWithContextMenu,- HasWidgets,- IconSpec,- org.kohsuke.stapler.StaplerProxy
The 
EC2FleetNodeComputer represents the running state of EC2FleetNode that holds executors.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class hudson.model.ComputerComputer.InternalComputerListener, Computer.TerminationRequestNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenuModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
- 
Field SummaryFields inherited from class hudson.slaves.SlaveComputerALLOW_UNSUPPORTED_REMOTING_VERSIONSFields inherited from class hudson.model.ComputerBUILD, CONFIGURE, CONNECT, CREATE, DELETE, DISCONNECT, EXTENDED_READ, EXTENDED_READ_AND_CONNECT, nodeName, offlineCause, PERMISSIONS, SKIP_PERMISSION_CHECK, statusChangeLock, threadPoolForRemoting, transientActions
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class hudson.slaves.SlaveComputer_connect, disconnect, doDoDisconnect, doJenkinsAgentJnlp, doLaunchSlaveAgent, doSlaveAgentJnlp, doSubmitDescription, getAbsoluteRemoteFs, getAbsoluteRemotePath, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getDelegatedLauncher, getEnvVarsFull, getIconClassName, getJnlpJars, getJnlpMac, getLauncher, getListener, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, getTarget, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setChannel, setNode, taskAccepted, taskCompleted, taskCompletedWithProblems, taskStarted, tryReconnectMethods inherited from class hudson.model.Computer_doScript, addAction, buildEnvironment, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doRssLatest, doScript, doScriptText, doToggleOffline, getActions, getAllExecutors, getApi, getAssignedLabels, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDescription, getDisplayExecutors, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIcon, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getMonitorData, getMonitoringData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTemporaryOfflineCauseReason, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasOfflineCause, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, removeExecutor, resolveForCLI, setOfflineCause, setTemporarilyOffline, setTemporarilyOffline, setTemporaryOfflineCause, updateByXml, waitUntilOffline, waitUntilOnlineMethods inherited from class hudson.model.ActionableaddOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObjectgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.security.AccessControlledcheckAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.DescriptorByNameOwnergetDescriptorByNameMethods inherited from interface jenkins.widgets.HasWidgetsgetWidget, getWidgetsMethods inherited from interface jenkins.model.IComputergetACL, getIconAltText, getTooltipMethods inherited from interface hudson.search.SearchItemgetSearchIcon
- 
Constructor Details- 
EC2FleetNodeComputer
 
- 
- 
Method Details- 
isMarkedForDeletionpublic boolean isMarkedForDeletion()
- 
getNode- Overrides:
- getNodein class- SlaveComputer
 
- 
getInstanceId
- 
getCloud
- 
getDisplayNameReturn label which will represent executor in "Build Executor Status" section of Jenkins UI.- Specified by:
- getDisplayNamein interface- IComputer
- Specified by:
- getDisplayNamein interface- ModelObject
- Overrides:
- getDisplayNamein class- Computer
- Returns:
- Node's display name
 
- 
doDoDeleteWhen the agent is deleted, schedule EC2 instance for termination- Overrides:
- doDoDeletein class- Computer
- Returns:
- HttpResponse
- Throws:
- IOException
 
 
-