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 Constructor Description CloudWatchAwsGlobalConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckLogGroupName(String logGroupName)
FormValidation
doValidate(String logGroupName, String region, String credentialsId)
protected void
filter(com.amazonaws.services.logs.AWSLogs client, String logGroupName)
com.amazonaws.services.logs.AWSLogsClientBuilder
getAWSLogsClientBuilder()
String
getDisplayName()
String
getLogGroupName()
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, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getLogGroupName
public String getLogGroupName()
-
setLogGroupName
@DataBoundSetter public void setLogGroupName(String logGroupName)
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<GlobalConfiguration>
-
getAWSLogsClientBuilder
public com.amazonaws.services.logs.AWSLogsClientBuilder getAWSLogsClientBuilder() throws IOException
- Throws:
IOException
-
doCheckLogGroupName
public FormValidation doCheckLogGroupName(@QueryParameter String logGroupName)
-
doValidate
public FormValidation doValidate(@QueryParameter String logGroupName, @QueryParameter String region, @QueryParameter String credentialsId)
-
filter
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) protected void filter(com.amazonaws.services.logs.AWSLogs client, String logGroupName)
-
-