Class CloudWatchAwsGlobalConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.aws.global_configuration.AbstractAwsGlobalConfiguration
io.jenkins.plugins.pipeline_cloudwatch_logs.CloudWatchAwsGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
@Symbol("cloudWatchLogs")
@Extension
public class CloudWatchAwsGlobalConfiguration
extends io.jenkins.plugins.aws.global_configuration.AbstractAwsGlobalConfiguration
Store the AWS configuration to save it on a separate file
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckLogGroupName
(String logGroupName) doValidate
(String logGroupName, String region, String credentialsId) protected void
filter
(software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient client, String logGroupName) software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient
void
setLogGroupName
(String logGroupName) Methods inherited from class io.jenkins.plugins.aws.global_configuration.AbstractAwsGlobalConfiguration
getCategory, processExceptionMessage
Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CloudWatchAwsGlobalConfiguration
public CloudWatchAwsGlobalConfiguration()
-
-
Method Details
-
getLogGroupName
-
setLogGroupName
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<GlobalConfiguration>
-
getCloudWatchLogsClient
public software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient getCloudWatchLogsClient() throws IOException- Throws:
IOException
-
doCheckLogGroupName
-
doValidate
public FormValidation doValidate(@QueryParameter String logGroupName, @QueryParameter String region, @QueryParameter String credentialsId) -
filter
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) protected void filter(software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient client, String logGroupName)
-