Class DimensionsSCM

    • Method Detail

      • credentialsFromId

        public static com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials credentialsFromId​(String credentialsId,
                                                                                                             Item item)
      • fillInCredentials

        public void fillInCredentials​(Run<?,​?> run)
        Because we can't use the Credentials API from a remote agent, you should use this method to copy the username and password out of the Credentials into the appropriate fields (using Credentials API) _before_ remoting.
      • isChecked

        public boolean isChecked​(String type)
      • getProject

        public String getProject()
        Gets the unexpanded project name for the connection.
        Returns:
        the project spec
      • getProjectName

        public String getProjectName​(Run<?,​?> run,
                                     TaskListener log)
        Gets the expanded project name for the connection. Any variables in the project value will be expanded.
        Returns:
        the project spec without a trailing version number (if there is one).
      • getCredentialsId

        public String getCredentialsId()
        Gets selected credentialsId for the project
      • getProjectVersion

        public String getProjectVersion​(Run<?,​?> run,
                                        TaskListener log)
        Gets the expanded project name and version for the connection. Any variables in the project value will be expanded.
        Returns:
        the project spec including its trailing version (if there is one).
      • getPermissions

        public String getPermissions()
        Gets the permissions string.
      • getEol

        public String getEol()
        Gets the eol value.
      • getPathsToExclude

        public List<StringVarStorage> getPathsToExclude()
        Gets paths excluded from monitoring.
      • getUserName

        public String getUserName()
        Gets the user ID for the connection.
      • getPasswordNN

        public String getPasswordNN()
        Gets the password for the connection (not null).
      • getPassword

        public String getPassword()
        Gets the password for the connection (can be null).
      • getCertificatePassword

        public String getCertificatePassword()
        Gets the certificate password as String.
      • getCertificatePasswordSecret

        public Secret getCertificatePasswordSecret()
        Gets the certificate password as Secret object.
      • getKeystorePasswordSecret

        public Secret getKeystorePasswordSecret()
        Gets the keystore password as Secret object.
      • getKeystorePassword

        public String getKeystorePassword()
        Gets the keystore password as String.
      • getRemoteCertificatePasswordSecret

        public Secret getRemoteCertificatePasswordSecret()
        Gets the remote certificate password as Secret instance.
      • getRemoteCertificatePassword

        public String getRemoteCertificatePassword()
        Gets the remote certificate password as String.
      • getCertificatePath

        public String getCertificatePath()
        Gets the remote certificate path as String.
      • isSecureAgentAuth

        public boolean isSecureAgentAuth()
        Check if need perform secure auth for remote.
        Returns:
        secure auth
      • getServer

        public String getServer()
        Gets the server name for the connection.
      • getUserServer

        public String getUserServer()
      • getPluginServer

        public String getPluginServer()
      • getKeystoreServer

        public String getKeystoreServer()
      • getDatabase

        public String getDatabase()
        Gets the database name for the connection.
      • getUserDatabase

        public String getUserDatabase()
      • getPluginDatabase

        public String getPluginDatabase()
      • getKeystoreDatabase

        public String getKeystoreDatabase()
      • getTimeZone

        public String getTimeZone()
        Gets the time zone for the connection.
      • getWebUrl

        public String getWebUrl()
        Gets the web URL for the connection.
      • getCredentialsType

        public String getCredentialsType()
        Gets the credentials type.
      • getKeystorePath

        public String getKeystorePath()
        Gets the keystore path.
      • getCertificateAlias

        public String getCertificateAlias()
        Gets the certificate alias.
      • isCanJobExpand

        public boolean isCanJobExpand()
        Gets the expand flag.
      • isCanJobNoMetadata

        public boolean isCanJobNoMetadata()
        Gets the no metadata flag.
      • isCanJobNoTouch

        public boolean isCanJobNoTouch()
        Gets the no touch flag.
      • isCanJobUpdate

        public boolean isCanJobUpdate()
        Gets the update flag.
      • isCanJobDelete

        public boolean isCanJobDelete()
        Gets the delete flag.
      • isCanJobForce

        public boolean isCanJobForce()
        Gets the force flag.
      • isCanJobRevert

        public boolean isCanJobRevert()
        Gets the revert flag.
      • setPathsToExclude

        @DataBoundSetter
        public void setPathsToExclude​(List<StringVarStorage> pathsToExclude)
      • setPermissions

        @DataBoundSetter
        public void setPermissions​(String permissions)
      • setEol

        @DataBoundSetter
        public void setEol​(String eol)
      • setTimeZone

        @DataBoundSetter
        public void setTimeZone​(String timeZone)
      • setWebUrl

        @DataBoundSetter
        public void setWebUrl​(String webUrl)
      • setCanJobUpdate

        @DataBoundSetter
        public void setCanJobUpdate​(boolean canJobUpdate)
      • setCanJobDelete

        @DataBoundSetter
        public void setCanJobDelete​(boolean canJobDelete)
      • setCanJobForce

        @DataBoundSetter
        public void setCanJobForce​(boolean canJobForce)
      • setCanJobRevert

        @DataBoundSetter
        public void setCanJobRevert​(boolean canJobRevert)
      • setCanJobExpand

        @DataBoundSetter
        public void setCanJobExpand​(boolean canJobExpand)
      • setCanJobNoMetadata

        @DataBoundSetter
        public void setCanJobNoMetadata​(boolean canJobNoMetadata)
      • setCanJobNoTouch

        @DataBoundSetter
        public void setCanJobNoTouch​(boolean canJobNoTouch)
      • requiresWorkspaceForPolling

        public boolean requiresWorkspaceForPolling()
        Does this SCM plugin require a workspace for polling?

        Overrides:
        requiresWorkspaceForPolling in class SCM
      • supportsPolling

        public boolean supportsPolling()
        Does this SCM plugin support polling?

        Overrides:
        supportsPolling in class SCM
      • getKey

        @NonNull
        public String getKey()
        Overrides:
        getKey in class SCM
      • getParameterFromBuild

        public String getParameterFromBuild​(org.jenkinsci.plugins.workflow.job.WorkflowRun build,
                                            String parameterName)
        Get build parameters for WorkflowRun
      • createPathMatcher

        public PathMatcher createPathMatcher()
        Creates path matcher to ignore changes on certain paths.
        Returns:
        path matcher