Class SimpleProjectSettings
- java.lang.Object
-
- jetbrains.buildServer.serverSide.settings.SimpleProjectSettings
-
- All Implemented Interfaces:
ProjectSettings,XmlExternalizable,XmlStorable
public class SimpleProjectSettings extends Object implements ProjectSettings
Allows to associate a number of build types with a project.- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Called upon rereading of project settings for old instances of the ProjectSettingsList<String>getBuildTypeIds()Return list of applicable buildTypeIds or null if there is no restriction for build typebooleanisEnabled()if enabled, corresponding service should be shown/usedvoidreadFrom(org.jdom.Element rootElement)Read this element data from given JDOM nodevoidsetBuildTypes(List<String> buildTypeIds)Set list of applicable buildTypeIds or null if there is no restriction for build typevoidsetEnabled(boolean enabled)voidwriteTo(org.jdom.Element parentElement)Write data to the JDOM element
-
-
-
Method Detail
-
dispose
public void dispose()
Description copied from interface:ProjectSettingsCalled upon rereading of project settings for old instances of the ProjectSettings- Specified by:
disposein interfaceProjectSettings
-
setBuildTypes
public void setBuildTypes(@Nullable List<String> buildTypeIds)Set list of applicable buildTypeIds or null if there is no restriction for build type- Parameters:
buildTypeIds- see above
-
getBuildTypeIds
@Nullable public List<String> getBuildTypeIds()
Return list of applicable buildTypeIds or null if there is no restriction for build type- Returns:
- see above
-
setEnabled
public void setEnabled(boolean enabled)
-
isEnabled
public boolean isEnabled()
if enabled, corresponding service should be shown/used- Returns:
- see above
-
readFrom
public void readFrom(org.jdom.Element rootElement)
Description copied from interface:XmlStorableRead this element data from given JDOM node- Specified by:
readFromin interfaceXmlStorable- Parameters:
rootElement- element which contains information about this storable
-
writeTo
public void writeTo(org.jdom.Element parentElement)
Description copied from interface:XmlExternalizableWrite data to the JDOM element- Specified by:
writeToin interfaceXmlExternalizable- Parameters:
parentElement- - parent element to write data to
-
-