Class SimpleProjectSettings
- java.lang.Object
-
- jetbrains.buildServer.serverSide.settings.SimpleProjectSettings
-
- All Implemented Interfaces:
ProjectSettings
,XmlExternalizable
,XmlStorable
public class SimpleProjectSettings extends java.lang.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 void
dispose()
Called upon rereading of project settings for old instances of the ProjectSettingsjava.util.List<java.lang.String>
getBuildTypeIds()
Return list of applicable buildTypeIds or null if there is no restriction for build typeboolean
isEnabled()
if enabled, corresponding service should be shown/usedvoid
readFrom(org.jdom.Element rootElement)
Read this element data from given JDOM nodevoid
setBuildTypes(java.util.List<java.lang.String> buildTypeIds)
Set list of applicable buildTypeIds or null if there is no restriction for build typevoid
setEnabled(boolean enabled)
void
writeTo(org.jdom.Element parentElement)
Write data to the JDOM element
-
-
-
Method Detail
-
dispose
public void dispose()
Description copied from interface:ProjectSettings
Called upon rereading of project settings for old instances of the ProjectSettings- Specified by:
dispose
in interfaceProjectSettings
-
setBuildTypes
public void setBuildTypes(@Nullable java.util.List<java.lang.String> buildTypeIds)
Set list of applicable buildTypeIds or null if there is no restriction for build type- Parameters:
buildTypeIds
- see above
-
getBuildTypeIds
@Nullable public java.util.List<java.lang.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:XmlStorable
Read this element data from given JDOM node- Specified by:
readFrom
in interfaceXmlStorable
- Parameters:
rootElement
- element which contains information about this storable
-
writeTo
public void writeTo(org.jdom.Element parentElement)
Description copied from interface:XmlExternalizable
Write data to the JDOM element- Specified by:
writeTo
in interfaceXmlExternalizable
- Parameters:
parentElement
- - parent element to write data to
-
-