Class CRPluggableScmMaterial

java.lang.Object
com.thoughtworks.go.plugin.configrepo.contract.CRBase
com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial
com.thoughtworks.go.plugin.configrepo.contract.material.CRPluggableScmMaterial
All Implemented Interfaces:
Locatable, SourceCodeMaterial

public class CRPluggableScmMaterial
extends CRMaterial
implements SourceCodeMaterial
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String destination  
    static java.lang.String TYPE_NAME  

    Fields inherited from class com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial

    type

    Fields inherited from class com.thoughtworks.go.plugin.configrepo.contract.CRBase

    location
  • Constructor Summary

    Constructors
    Constructor Description
    CRPluggableScmMaterial()  
    CRPluggableScmMaterial​(java.lang.String name, java.lang.String scmId, java.lang.String directory, java.util.List<java.lang.String> filter, boolean isFilterInverted)  
  • Method Summary

    Modifier and Type Method Description
    void getErrors​(ErrorCollection errors, java.lang.String parentLocation)  
    java.util.List<java.lang.String> getFilterList()  
    java.lang.String getLocation​(java.lang.String parent)  
    boolean isWhitelist()  
    void setFilterIgnore​(java.util.List<java.lang.String> filter)  
    java.lang.String typeName()  

    Methods inherited from class com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial

    validateNameUniqueness

    Methods inherited from class com.thoughtworks.go.plugin.configrepo.contract.CRBase

    getErrors, getLocation, setLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.thoughtworks.go.plugin.configrepo.contract.material.SourceCodeMaterial

    getDestination
  • Field Details

    • TYPE_NAME

      public static final java.lang.String TYPE_NAME
      See Also:
      Constant Field Values
    • destination

      @SerializedName("destination") @Expose protected java.lang.String destination
  • Constructor Details

    • CRPluggableScmMaterial

      public CRPluggableScmMaterial()
    • CRPluggableScmMaterial

      public CRPluggableScmMaterial​(java.lang.String name, java.lang.String scmId, java.lang.String directory, java.util.List<java.lang.String> filter, boolean isFilterInverted)
  • Method Details

    • typeName

      public java.lang.String typeName()
      Specified by:
      typeName in class CRMaterial
    • getFilterList

      public java.util.List<java.lang.String> getFilterList()
    • setFilterIgnore

      public void setFilterIgnore​(java.util.List<java.lang.String> filter)
    • isWhitelist

      public boolean isWhitelist()
    • getErrors

      public void getErrors​(ErrorCollection errors, java.lang.String parentLocation)
      Specified by:
      getErrors in class CRBase
    • getLocation

      public java.lang.String getLocation​(java.lang.String parent)
      Specified by:
      getLocation in interface Locatable