java.lang.Object
com.thoughtworks.go.plugin.configrepo.contract.CRBase
All Implemented Interfaces:
Locatable
Direct Known Subclasses:
CRApproval, CRArtifact, CRConfigurationProperty, CREnvironment, CREnvironmentVariable, CRFilter, CRJob, CRMaterial, CRParameter, CRPipeline, CRPluginConfiguration, CRStage, CRTab, CRTask, CRTimer, CRTrackingTool

public abstract class CRBase
extends java.lang.Object
implements Locatable
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String location  
  • Constructor Summary

    Constructors
    Constructor Description
    CRBase()  
  • Method Summary

    Modifier and Type Method Description
    ErrorCollection getErrors()  
    abstract void getErrors​(ErrorCollection errors, java.lang.String parentLocation)  
    java.lang.String getLocation()  
    void setLocation​(java.lang.String location)  

    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

    • location

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

    • CRBase

      public CRBase()
  • Method Details

    • getErrors

      public abstract void getErrors​(ErrorCollection errors, java.lang.String parentLocation)
    • getLocation

      public java.lang.String getLocation()
    • setLocation

      public void setLocation​(java.lang.String location)
    • getErrors

      public ErrorCollection getErrors()