Package io.jenkins.plugins.maplelabs
Class Configuration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- io.jenkins.plugins.maplelabs.Configuration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public class Configuration 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 Configuration()
-
Method Summary
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, 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
-
init
public final void init()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<GlobalConfiguration>
-
getTargetSnappyFlowDestination
public String getTargetSnappyFlowDestination()
-
setTargetSnappyFlowDestination
public void setTargetSnappyFlowDestination(String destination)
-
getTargetDestination
public String getTargetDestination()
-
setTargetDestination
public void setTargetDestination(String destination)
-
getTargetProjectName
public String getTargetProjectName()
-
setTargetProjectName
public void setTargetProjectName(String targetProjectName)
-
getTargetAppName
public String getTargetAppName()
-
setTargetAppName
public void setTargetAppName(String targetAppName)
-
getTargetInstanceName
public String getTargetInstanceName()
-
setTargetInstanceName
public void setTargetInstanceName(String targetInstanceName)
-
setTargetHost
public void setTargetHost(String host)
-
getTargetHost
public String getTargetHost()
-
setTargetPort
public void setTargetPort(String port)
-
getTargetPort
public String getTargetPort()
-
setTargetProtocol
public void setTargetProtocol(String protocol)
-
getTargetProtocol
public String getTargetProtocol()
-
setTargetESUserName
public void setTargetESUserName(String userName)
-
getTargetESUserName
public String getTargetESUserName()
-
setTargetESPassword
public void setTargetESPassword(String password)
-
getTargetESPassword
public String getTargetESPassword()
-
setTargetProfileName
public void setTargetProfileName(String profileName)
-
getTargetProfileName
public String getTargetProfileName()
-
setTargetKafkaPath
public void setTargetKafkaPath(String path)
-
getTargetKafkaPath
public String getTargetKafkaPath()
-
setTargetKafkaToken
public void setTargetKafkaToken(String token)
-
getTargetKafkaToken
public String getTargetKafkaToken()
-
setTargetKafkaTopic
public void setTargetKafkaTopic(String topic)
-
getTargetKafkaTopic
public String getTargetKafkaTopic()
-
setTargetPassword
public void setTargetPassword(String password)
-
getTargetPassword
public String getTargetPassword()
-
setTargetUserName
public void setTargetUserName(String userName)
-
getTargetUserName
public String getTargetUserName()
-
getIsEventEnabled
public boolean getIsEventEnabled()
-
setIsEventEnabled
public void setIsEventEnabled(boolean isEventEnabled)
-
getIsMetricEnabled
public boolean getIsMetricEnabled()
-
setIsMetricEnabled
public void setIsMetricEnabled(boolean isMetricsEnabled)
-
getReportingInterval
public int getReportingInterval()
-
setReportingInterval
public void setReportingInterval(int reportingInterval)
-
getDestinationClient
public IClient getDestinationClient()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
This function will invoke when user click apply/save in config page This function will store the Target configuration details- Overrides:
configure
in classGlobalConfiguration
-
-