Package jetbrains.buildServer
Class AddToQueueResult
- java.lang.Object
-
- jetbrains.buildServer.AddToQueueResult
-
public class AddToQueueResult extends Object
Contains result of adding build(s) in the queue
-
-
Constructor Summary
Constructors Constructor Description AddToQueueResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)voidfailedToAdd(String buildTypeId, String reason)StringformatReasons(Collection<BuildType> selectedBuildTypes)Formats text with all failure reasonsStringgetFailureReason(String buildTypeId)StringgetWarning(String buildTypeId)booleanhasFailures()Is there any errorsinthashCode()booleanhasWarning(String buildTypeId)booleanisFailed(String buildTypeId)booleanisSuccessful(String buildTypeId)voidwarning(String buildTypeId, String reason)
-
-
-
Method Detail
-
isFailed
public boolean isFailed(String buildTypeId)
-
hasWarning
public boolean hasWarning(String buildTypeId)
-
isSuccessful
public boolean isSuccessful(String buildTypeId)
-
hasFailures
public boolean hasFailures()
Is there any errors- Returns:
- flag
-
formatReasons
public String formatReasons(Collection<BuildType> selectedBuildTypes)
Formats text with all failure reasons- Parameters:
selectedBuildTypes- list of types selected to run- Returns:
- formatted text
-
-