Package io.jenkins.plugins.ghacloud
Class GitHubActionsCloud
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.slaves.Cloud
io.jenkins.plugins.ghacloud.GitHubActionsCloud
- All Implemented Interfaces:
ExtensionPoint,Describable<Cloud>,ModelObject,SearchableModelObject,SearchItem,AccessControlled,ModelObjectWithContextMenu
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.slaves.Cloud
Cloud.CloudStateNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubActionsCloud(String name, String repository, String credentialsId, List<GitHubActionsAgentTemplate> templates) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanProvision(Cloud.CloudState state) intprovision(Cloud.CloudState state, int excessWorkload) voidsetGitHubApiUrl(String gitHubApiUrl) voidsetMaxAgents(int maxAgents) Methods inherited from class hudson.slaves.Cloud
all, canProvision, doConfigSubmit, doDoDelete, getACL, getDescriptor, getDisplayName, getIcon, getIconAltText, getIconClassName, getSearchUrl, getUrl, provision, reconfigure, reconfigure, registerPermissionsMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
GitHubActionsCloud
@DataBoundConstructor public GitHubActionsCloud(String name, String repository, String credentialsId, List<GitHubActionsAgentTemplate> templates)
-
-
Method Details
-
getGitHubApiUrl
-
setGitHubApiUrl
-
getRepository
-
getCredentialsId
-
getMaxAgents
public int getMaxAgents() -
setMaxAgents
@DataBoundSetter public void setMaxAgents(int maxAgents) -
getTemplates
-
canProvision
- Overrides:
canProvisionin classCloud
-
provision
public Collection<NodeProvisioner.PlannedNode> provision(Cloud.CloudState state, int excessWorkload)
-