@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
@Symbol(value="nodeSharingPool")
public class Pool
extends jenkins.model.GlobalConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
Pool.PoolMisconfigured |
static class |
Pool.Updater |
| Modifier and Type | Field and Description |
|---|---|
static ConfigRepoAdminMonitor |
ADMIN_MONITOR |
static String |
CONFIG_REPO_PROPERTY_NAME |
static String |
PASSWORD_PROPERTY_NAME |
static String |
USERNAME_PROPERTY_NAME |
| Constructor and Description |
|---|
Pool() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureOrchestratorIsUpToDateWithTheGrid()
Make sure the orchestrator is in sync with the grid after startup that might be in the middle of grid operation.
|
ConfigRepo.Snapshot |
getConfig() |
String |
getConfigRepo() |
String |
getConfigRepoUrl() |
com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials |
getExecutorCredential(ExecutorJenkins executor) |
static Pool |
getInstance() |
String |
getPassword() |
String |
getUsername() |
void |
setConfigRepo(String configRepo) |
void |
setPassword(String password) |
void |
setUsername(String username) |
all, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String CONFIG_REPO_PROPERTY_NAME
public static final String USERNAME_PROPERTY_NAME
public static final String PASSWORD_PROPERTY_NAME
@Extension public static final ConfigRepoAdminMonitor ADMIN_MONITOR
@Nonnull public String getConfigRepoUrl() throws Pool.PoolMisconfigured
Pool.PoolMisconfigured@CheckForNull public com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials getExecutorCredential(ExecutorJenkins executor)
@Nonnull public ConfigRepo.Snapshot getConfig() throws Pool.PoolMisconfigured
Pool.PoolMisconfigured@Initializer(after=PLUGINS_STARTED)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class)
public static void ensureOrchestratorIsUpToDateWithTheGrid()
throws Exception
Exception@CheckForNull public String getConfigRepo()
@CheckForNull public String getUsername()
@CheckForNull public String getPassword()
Copyright © 2016–2020. All rights reserved.