Class CRAbstractFetchTask
java.lang.Object
com.thoughtworks.go.plugin.configrepo.contract.CRBase
com.thoughtworks.go.plugin.configrepo.contract.tasks.CRTask
com.thoughtworks.go.plugin.configrepo.contract.tasks.CRAbstractFetchTask
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
CRFetchArtifactTask,CRFetchPluggableArtifactTask
public abstract class CRAbstractFetchTask extends CRTask
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCRAbstractFetchTask.ArtifactOrigin -
Field Summary
Fields Modifier and Type Field Description protected CRAbstractFetchTask.ArtifactOriginartifactOriginprotected java.lang.Stringjobprotected java.lang.Stringpipelineprotected java.lang.Stringstagestatic java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Modifier Constructor Description protectedCRAbstractFetchTask(java.lang.String stage, java.lang.String job, CRAbstractFetchTask.ArtifactOrigin artifactOrigin, CRRunIf runIf, CRTask onCancel) -
Method Summary
Modifier and Type Method Description java.lang.StringgetLocation(java.lang.String parent)Methods inherited from class com.thoughtworks.go.plugin.configrepo.contract.CRBase
getErrors, getErrors, getLocation, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
pipeline
@SerializedName("pipeline") @Expose protected java.lang.String pipeline -
stage
@SerializedName("stage") @Expose protected java.lang.String stage -
job
@SerializedName("job") @Expose protected java.lang.String job -
artifactOrigin
@SerializedName("artifact_origin") @Expose protected CRAbstractFetchTask.ArtifactOrigin artifactOrigin
-
-
Constructor Details
-
CRAbstractFetchTask
protected CRAbstractFetchTask(java.lang.String stage, java.lang.String job, CRAbstractFetchTask.ArtifactOrigin artifactOrigin, CRRunIf runIf, CRTask onCancel)
-
-
Method Details
-
getLocation
public java.lang.String getLocation(java.lang.String parent)
-