public class ViewAgent extends BambooActionSupport implements AuthenticatedUserSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected long |
agentId |
protected AgentManager |
agentManager |
protected AgentResultsSummaryManager |
agentResultsSummaryManager |
protected CapabilityHelper |
capabilityHelper |
protected CapabilitySet |
capabilitySet |
protected ResultsSummaryManager |
resultsSummaryManager |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ViewAgent() |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
protected long agentId
protected CapabilitySet capabilitySet
@Autowired protected AgentResultsSummaryManager agentResultsSummaryManager
@Autowired protected AgentManager agentManager
@Autowired protected CapabilityHelper capabilityHelper
@Autowired protected ResultsSummaryManager resultsSummaryManager
public boolean hasPlanPermission(String permission, PlanIdentifier plan)
hasPlanPermission
in class BambooActionSupport
public String doDefault() throws Exception
BambooActionSupport
doDefault
in class BambooActionSupport
Exception
protected void initializeAllFields()
public SuccessPercentageStatisticsBean getStatistics()
public List<ImmutableBuildable> getExecutableBuildables()
public List<DecoratedEnvironment> getExecutableEnvironments()
@Nullable public BuildResultsSummary findLastSuccessfulBuild(ImmutableBuildable plan)
@Nullable public BuildResultsSummary findLastBuild(ImmutableBuildable plan)
public CapabilityRequirementSetDecorator getSharedCapabilitySetDecorator()
public CapabilityRequirementSetDecorator getCapabilitySetDecorator()
public CapabilityRequirementSetDecorator getCombinedCapabilitySetDecorator()
public CapabilitySet getCapabilitySet()
public CapabilitySet getSharedCapabilitySet()
public void setSharedCapabilitySet(CapabilitySet sharedCapabilitySet)
public long getAgentId()
public void setAgentId(long agentId)
public PipelineDefinition getAgent()
public SystemInfo getSystemInfo()
public void setAgent(PipelineDefinition agent)
public BuildAgent getBuildAgent()
public void setSystemInfo(SystemInfo systemInfo)
public FilterController getFilterController()
public BuildResultsFilterFactory getBuildResultsFilterFactory()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.