All Implemented Interfaces:
Locatable, SourceCodeMaterial
Direct Known Subclasses:
CRGitMaterial, CRHgMaterial, CRP4Material, CRSvnMaterial, CRTfsMaterial

public abstract class CRScmMaterial extends CRMaterial implements SourceCodeMaterial
  • Field Details

    • filter

      @SerializedName("filter") @Expose protected CRFilter filter
    • destination

      @SerializedName("destination") @Expose protected String destination
    • autoUpdate

      @SerializedName("auto_update") @Expose protected boolean autoUpdate
    • username

      @SerializedName("username") @Expose protected String username
    • password

      @SerializedName("password") @Expose protected String password
    • encryptedPassword

      @SerializedName("encrypted_password") @Expose protected String encryptedPassword
  • Constructor Details

    • CRScmMaterial

      public CRScmMaterial()
    • CRScmMaterial

      public CRScmMaterial(String type, String materialName, String folder, boolean autoUpdate, boolean isFilterInverted, String username, List<String> filter)
  • Method Details

    • getFilterList

      public List<String> getFilterList()
    • isWhitelist

      public boolean isWhitelist()
    • getErrors

      public void getErrors(ErrorCollection errors, String parentLocation)
      Specified by:
      getErrors in class CRBase
    • getCommonErrors

      protected void getCommonErrors(ErrorCollection errors, String parentLocation)
    • setIncludesNoCheck

      @TestOnly public void setIncludesNoCheck(String... filters)
    • hasEncryptedPassword

      public boolean hasEncryptedPassword()
    • hasPlainTextPassword

      public boolean hasPlainTextPassword()
    • validatePassword

      protected void validatePassword(ErrorCollection errors, String location)