Class AciAgent
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Node
hudson.model.Slave
hudson.slaves.AbstractCloudSlave
com.microsoft.jenkins.containeragents.aci.AciAgent
- All Implemented Interfaces:
ISSHLaunchable,ExtensionPoint,Describable<Node>,ModelObject,PersistenceRoot,ReconfigurableDescribable<Node>,Saveable,SearchableModelObject,SearchItem,AccessControlled,Serializable,OnMaster,org.jenkinsci.plugins.cloudstats.TrackedItem
public class AciAgent
extends AbstractCloudSlave
implements ISSHLaunchable, org.jenkinsci.plugins.cloudstats.TrackedItem
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.Slave
Slave.JnlpJar, Slave.SlaveDescriptorNested classes/interfaces inherited from class hudson.model.Node
Node.InternalComputerListener, Node.ModeNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Node
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_terminate(TaskListener listener) getHost()org.jenkinsci.plugins.cloudstats.ProvisioningActivity.IdgetId()com.cloudbees.plugins.credentials.common.StandardUsernameCredentialsintbooleanreconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) voidsetDeployName(String deployName) voidMethods inherited from class hudson.slaves.AbstractCloudSlave
terminateMethods inherited from class hudson.model.Slave
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelAtomSet, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toStringMethods inherited from class hudson.model.Node
canTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getConfigFile, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getRootDir, getSearchUrl, getSelfLabel, getTemporaryOfflineCause, isAcceptingTasks, isHoldOffLaunchUntilSave, onLoad, reconfigure, save, toComputerMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
Constructor Details
-
AciAgent
@DataBoundConstructor public AciAgent(AciCloud cloud, AciContainerTemplate template) throws Descriptor.FormException, IOException - Throws:
Descriptor.FormExceptionIOException
-
-
Method Details
-
createComputer
- Specified by:
createComputerin classAbstractCloudSlave
-
_terminate
- Specified by:
_terminatein classAbstractCloudSlave
-
setDeployName
-
getDeployName
-
reconfigure
public Node reconfigure(@NonNull org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) - Specified by:
reconfigurein interfaceReconfigurableDescribable<Node>- Overrides:
reconfigurein classNode
-
getSshCredential
public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getSshCredential() throws IllegalArgumentException- Specified by:
getSshCredentialin interfaceISSHLaunchable- Throws:
IllegalArgumentException
-
getSshPort
public int getSshPort()- Specified by:
getSshPortin interfaceISSHLaunchable
-
isSshLaunchType
public boolean isSshLaunchType()- Specified by:
isSshLaunchTypein interfaceISSHLaunchable
-
getHost
- Specified by:
getHostin interfaceISSHLaunchable
-
setHost
-
getId
@NonNull public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()- Specified by:
getIdin interfaceorg.jenkinsci.plugins.cloudstats.TrackedItem
-