java.lang.Object
All Implemented Interfaces:
Locatable

public class CRExecTask
extends CRTask
  • Field Summary

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

    Fields inherited from class com.thoughtworks.go.plugin.configrepo.contract.tasks.CRTask

    type

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

    location
  • Constructor Summary

    Constructors
    Constructor Description
    CRExecTask()  
    CRExecTask​(CRRunIf runIf, CRTask onCancel, java.lang.String command, java.lang.String workingDirectory, long timeout)  
  • Method Summary

    Modifier and Type Method Description
    void addArgument​(java.lang.String arg)  
    void getErrors​(ErrorCollection errors, java.lang.String parentLocation)  
    java.lang.String getLocation​(java.lang.String parent)  

    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
  • Field Details

  • Constructor Details

    • CRExecTask

      public CRExecTask()
    • CRExecTask

      public CRExecTask​(CRRunIf runIf, CRTask onCancel, java.lang.String command, java.lang.String workingDirectory, long timeout)
  • Method Details

    • addArgument

      public void addArgument​(java.lang.String arg)
    • 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)