Class Attributes.MaterialFields

java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.strategies.Attributes.MaterialFields
Enclosing interface:
Attributes<T extends ConnectionConfig>

public static class Attributes.MaterialFields extends Object
  • Constructor Details

    • MaterialFields

      public MaterialFields()
  • Method Details

    • getMaterialUrl

      public String getMaterialUrl()
      OPTIONAL: User can override the URL, with say, ssh or a proxy

      Assumes material accepts URL (since we are only supporting Git at the moment, this is fine; if we later expand to other SCMs, P4 is the only oddball.)

    • getMaterialUsername

      public String getMaterialUsername()
      OPTIONAL: Username for material auth
    • getMaterialPassword

      public String getMaterialPassword()
      OPTIONAL: Password for material auth
    • setMaterialUrl

      public void setMaterialUrl(String materialUrl)
      OPTIONAL: User can override the URL, with say, ssh or a proxy

      Assumes material accepts URL (since we are only supporting Git at the moment, this is fine; if we later expand to other SCMs, P4 is the only oddball.)

    • setMaterialUsername

      public void setMaterialUsername(String materialUsername)
      OPTIONAL: Username for material auth
    • setMaterialPassword

      public void setMaterialPassword(String materialPassword)
      OPTIONAL: Password for material auth