Class PersonalBuildCreator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.PersonalBuildCreator
-
public class PersonalBuildCreator extends Object
- Author:
- Kir
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PersonalBuildCreator.PatchBuilder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DESCRIPTION
static String
DEFAULT_VCS_NAME
-
Constructor Summary
Constructors Constructor Description PersonalBuildCreator(BuildServerImpl server, BuildAgentManager buildAgentManager, SUser user)
PersonalBuildCreator(BuildServerCreator fixture, SUser user)
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_DESCRIPTION
public static final String DEFAULT_DESCRIPTION
- See Also:
- Constant Field Values
-
DEFAULT_VCS_NAME
public static final String DEFAULT_VCS_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PersonalBuildCreator
public PersonalBuildCreator(BuildServerImpl server, BuildAgentManager buildAgentManager, SUser user)
-
PersonalBuildCreator
public PersonalBuildCreator(BuildServerCreator fixture, SUser user)
-
-
Method Detail
-
getVcsSupportName
public String getVcsSupportName()
-
setVcsSupportName
public void setVcsSupportName(String vcsSupportName)
-
commitType
public PersonalBuildCreator commitType(PreTestedCommitType commitType)
-
changes
public PersonalBuildCreator changes(byte[] changes)
-
date
public PersonalBuildCreator date(Date date)
-
publishChanges
public long publishChanges(PreTestedCommitType commitType) throws IOException
- Throws:
IOException
-
defaultChanges
public PersonalBuildCreator defaultChanges() throws IOException
- Throws:
IOException
-
patchBuilder
@NotNull public PersonalBuildCreator.PatchBuilder patchBuilder()
-
description
public PersonalBuildCreator description(String description)
-
publishChanges
public long publishChanges(String description, PreTestedCommitType commitType) throws IOException
- Throws:
IOException
-
publishChanges
public long publishChanges(String description, Date date, PreTestedCommitType commitType) throws IOException
- Throws:
IOException
-
publishChanges
public long publishChanges(String description, Date date, PreTestedCommitType commitType, byte[] changes) throws IOException
- Throws:
IOException
-
publish
public long publish() throws IOException
- Throws:
IOException
-
registerPersonalVcsSupport
public void registerPersonalVcsSupport()
-
startPersonalBuild
public RunningBuildEx startPersonalBuild(BuildType buildType, PreTestedCommitType commitType) throws IOException
- Throws:
IOException
-
startPersonalBuild
public RunningBuildEx startPersonalBuild(BuildType buildType, long changeId) throws IOException
- Throws:
IOException
-
addToQueue
public SQueuedBuild addToQueue(BuildType buildType, PreTestedCommitType commitType) throws IOException
- Throws:
IOException
-
addToQueue
public SQueuedBuild addToQueue(BuildType buildType, long changeId) throws IOException
- Throws:
IOException
-
finishBuild
public SFinishedBuild finishBuild(BaseServerTestCase test, boolean buildFailed) throws InterruptedException
- Throws:
InterruptedException
-
setupVcsRoot
public void setupVcsRoot(@NotNull SBuildType bt)
-
getUser
public SUser getUser()
-
getChanges
public byte[] getChanges()
-
-