java.lang.Object
com.thoughtworks.go.plugin.configrepo.contract.CRBase
com.thoughtworks.go.plugin.configrepo.contract.material.CRMaterial
All Implemented Interfaces:
Locatable
Direct Known Subclasses:
CRConfigMaterial, CRDependencyMaterial, CRPackageMaterial, CRPluggableScmMaterial, CRScmMaterial

public abstract class CRMaterial
extends CRBase
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String type  

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

    location
  • Constructor Summary

    Constructors
    Constructor Description
    CRMaterial()  
    CRMaterial​(java.lang.String type, java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    abstract java.lang.String typeName()  
    java.lang.String validateNameUniqueness​(java.util.HashSet<java.lang.String> keys)  

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

    getErrors, 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.Locatable

    getLocation
  • Field Details

    • type

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

    • CRMaterial

      public CRMaterial()
    • CRMaterial

      public CRMaterial​(java.lang.String type, java.lang.String name)
  • Method Details

    • typeName

      public abstract java.lang.String typeName()
    • validateNameUniqueness

      public java.lang.String validateNameUniqueness​(java.util.HashSet<java.lang.String> keys)