Class TptPlugin.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getDefaultTptBindingName

        public static String getDefaultTptBindingName()
        Returns:
        "TptApi"
      • getDefaultIsDistributing

        public static boolean getDefaultIsDistributing()
        Returns:
        false
      • getDefaultTptPort

        public static String getDefaultTptPort()
        Returns:
        "1099"
      • getDefaultTptStartUpWaitTime

        public static String getDefaultTptStartUpWaitTime()
        Returns:
        "60" (1 min)
      • getDefaultEnableJunit

        public static boolean getDefaultEnableJunit()
        Returns:
        false
      • getDefaultJUnitLogLevel

        public static com.piketec.jenkins.plugins.tpt.TptLog.LogLevel getDefaultJUnitLogLevel()
        Returns:
        INFO
      • doCheckExePaths

        public static FormValidation doCheckExePaths​(@QueryParameter
                                                     String exePaths)
        Basic validation of the entered paths to tpt.exe. At least one must exist.
        Parameters:
        exePaths - The tpt installation paths
        Returns:
        The validation of the form
      • doFillJUnitLogLevelItems

        public ListBoxModel doFillJUnitLogLevelItems()
        Makes the combobox list on the descriptor with all the possible options for the JunitLogLevel
        Returns:
        items from the combobox list