Package io.prismacloud.iac.jenkins
Class Config
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- io.prismacloud.iac.jenkins.Config
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public final class Config extends GlobalConfiguration
-
-
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 Config()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckPrismaCloudAccessKey(String prismaCloudAccessKey)
FormValidation
doCheckPrismaCloudApiUrl(String prismaCloudApiUrl)
FormValidation
doCheckPrismaCloudSecretKey(String prismaCloudSecretKey)
FormValidation
doTestConnection(String prismaCloudApiUrl, String prismaCloudAccessKey, String prismaCloudSecretKey)
static Config
get()
String
getPrismaCloudAccessKey()
String
getPrismaCloudApiUrl()
String
getPrismaCloudSecretKey()
void
setPrismaCloudAccessKey(String prismaCloudAccessKey)
void
setPrismaCloudApiUrl(String prismaCloudApiUrl)
void
setPrismaCloudSecretKey(String prismaCloudSecretKey)
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, toMap
-
-
-
-
Method Detail
-
get
public static Config get()
-
getPrismaCloudAccessKey
public String getPrismaCloudAccessKey()
-
getPrismaCloudSecretKey
public String getPrismaCloudSecretKey()
-
getPrismaCloudApiUrl
@CheckForNull public String getPrismaCloudApiUrl()
-
setPrismaCloudApiUrl
@DataBoundSetter public void setPrismaCloudApiUrl(String prismaCloudApiUrl)
-
setPrismaCloudAccessKey
@DataBoundSetter public void setPrismaCloudAccessKey(String prismaCloudAccessKey)
-
setPrismaCloudSecretKey
@DataBoundSetter public void setPrismaCloudSecretKey(String prismaCloudSecretKey)
-
doCheckPrismaCloudAccessKey
@POST public FormValidation doCheckPrismaCloudAccessKey(@QueryParameter String prismaCloudAccessKey)
-
doCheckPrismaCloudSecretKey
@POST public FormValidation doCheckPrismaCloudSecretKey(@QueryParameter String prismaCloudSecretKey)
-
doCheckPrismaCloudApiUrl
@POST public FormValidation doCheckPrismaCloudApiUrl(@QueryParameter String prismaCloudApiUrl)
-
doTestConnection
public FormValidation doTestConnection(@QueryParameter("prismaCloudApiUrl") String prismaCloudApiUrl, @QueryParameter("prismaCloudAccessKey") String prismaCloudAccessKey, @QueryParameter("prismaCloudSecretKey") String prismaCloudSecretKey)
-
-