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.Stringdestinationstatic java.lang.StringTYPE_NAMEFields inherited from class com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial
type -
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 voidgetErrors(ErrorCollection errors, java.lang.String parentLocation)java.util.List<java.lang.String>getFilterList()java.lang.StringgetLocation(java.lang.String parent)booleanisWhitelist()voidsetFilterIgnore(java.util.List<java.lang.String> filter)java.lang.StringtypeName()Methods inherited from class com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial
validateNameUniquenessMethods inherited from class com.thoughtworks.go.plugin.configrepo.contract.CRBase
getErrors, getLocation, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
typeNamein classCRMaterial
-
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
-
getLocation
public java.lang.String getLocation(java.lang.String parent)- Specified by:
getLocationin interfaceLocatable
-