Package jetbrains.buildServer.configs
Class VcsRootBuilderImpl
- java.lang.Object
-
- jetbrains.buildServer.configs.VcsRootBuilderImpl
-
- All Implemented Interfaces:
VcsRootBuilder
public class VcsRootBuilderImpl extends Object implements VcsRootBuilder
-
-
Constructor Summary
Constructors Constructor Description VcsRootBuilderImpl()
VcsRootBuilderImpl(DefaultParams defaultParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcsRootBuilderImpl
addParameter(String name, String value)
InputStream
build()
String
buildString()
org.jdom.Element
buildXmlElement()
String
getExternalId()
Integer
getInterval()
String
getName()
Parameters
getParameters()
String
getType()
String
getUUID()
void
setExternalId(String externalId)
VcsRootBuilderImpl
setModificationCheckInterval(int intervalSeconds)
VcsRootBuilderImpl
setName(String name)
VcsRootBuilderImpl
setProjectConfigVersion(String version)
VcsRootBuilderImpl
setType(String type)
VcsRootBuilderImpl
setUUID(String uuid)
String
toString()
void
write(File destination)
-
-
-
Constructor Detail
-
VcsRootBuilderImpl
public VcsRootBuilderImpl()
-
VcsRootBuilderImpl
public VcsRootBuilderImpl(@NotNull DefaultParams defaultParams)
-
-
Method Detail
-
setUUID
@NotNull public VcsRootBuilderImpl setUUID(@Nullable String uuid)
- Specified by:
setUUID
in interfaceVcsRootBuilder
-
getUUID
@Nullable public String getUUID()
-
setType
@NotNull public VcsRootBuilderImpl setType(@Nullable String type)
- Specified by:
setType
in interfaceVcsRootBuilder
-
getType
@Nullable public String getType()
-
setProjectConfigVersion
@NotNull public VcsRootBuilderImpl setProjectConfigVersion(@Nullable String version)
- Specified by:
setProjectConfigVersion
in interfaceVcsRootBuilder
-
setName
@NotNull public VcsRootBuilderImpl setName(@Nullable String name)
- Specified by:
setName
in interfaceVcsRootBuilder
-
getName
@Nullable public String getName()
-
addParameter
@NotNull public VcsRootBuilderImpl addParameter(@NotNull String name, @NotNull String value)
- Specified by:
addParameter
in interfaceVcsRootBuilder
-
getParameters
@NotNull public Parameters getParameters()
-
setModificationCheckInterval
@NotNull public VcsRootBuilderImpl setModificationCheckInterval(int intervalSeconds)
- Specified by:
setModificationCheckInterval
in interfaceVcsRootBuilder
-
getInterval
@Nullable public Integer getInterval()
-
write
public void write(@NotNull File destination) throws IOException
- Throws:
IOException
-
build
@NotNull public InputStream build() throws ConfigException
- Specified by:
build
in interfaceVcsRootBuilder
- Throws:
ConfigException
-
buildString
@NotNull public String buildString() throws ConfigException, IOException
- Throws:
ConfigException
IOException
-
buildXmlElement
@NotNull public org.jdom.Element buildXmlElement() throws ConfigException
- Throws:
ConfigException
-
getExternalId
public String getExternalId()
-
setExternalId
public void setExternalId(String externalId)
-
-