public function setDefaultPropertiesForIntegrationBuilder() { $propertyProjectDir = new Build_BuilderElement_Type_Property(); $propertyProjectDir->setName('projectDir'); $propertyProjectDir->setValue($this->getWorkDir()); $propertyProjectDir->setFailOnError(false); $propertyProjectDir->setEditable(false); $propertyProjectDir->setDeletable(false); $propertyProjectDir->setVisible(false); $this->addToIntegrationBuilder($propertyProjectDir); $propertySourcesDir = new Build_BuilderElement_Type_Property(); $propertySourcesDir->setName('sourcesDir'); $propertySourcesDir->setValue($this->getScmLocalWorkingCopy()); $propertySourcesDir->setFailOnError(false); $propertySourcesDir->setEditable(false); $propertySourcesDir->setDeletable(false); $propertySourcesDir->setVisible(false); $this->addToIntegrationBuilder($propertySourcesDir); }
public function addProperty(Build_BuilderElement_Type_Property $o) { $this->_properties[$o->getName()] = $o; // Existing property gets overwritten }