public class TestRepositoryTriggersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a test repository triggers operation.
Modifier and Type | Field and Description |
---|---|
private java.util.List<RepositoryTriggerExecutionFailure> |
failedExecutions
The list of triggers that were not able to be tested.
|
private java.util.List<java.lang.String> |
successfulExecutions
The list of triggers that were successfully tested.
|
Constructor and Description |
---|
TestRepositoryTriggersResult() |
Modifier and Type | Method and Description |
---|---|
TestRepositoryTriggersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<RepositoryTriggerExecutionFailure> |
getFailedExecutions()
The list of triggers that were not able to be tested.
|
java.util.List<java.lang.String> |
getSuccessfulExecutions()
The list of triggers that were successfully tested.
|
int |
hashCode() |
void |
setFailedExecutions(java.util.Collection<RepositoryTriggerExecutionFailure> failedExecutions)
The list of triggers that were not able to be tested.
|
void |
setSuccessfulExecutions(java.util.Collection<java.lang.String> successfulExecutions)
The list of triggers that were successfully tested.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestRepositoryTriggersResult |
withFailedExecutions(java.util.Collection<RepositoryTriggerExecutionFailure> failedExecutions)
The list of triggers that were not able to be tested.
|
TestRepositoryTriggersResult |
withFailedExecutions(RepositoryTriggerExecutionFailure... failedExecutions)
The list of triggers that were not able to be tested.
|
TestRepositoryTriggersResult |
withSuccessfulExecutions(java.util.Collection<java.lang.String> successfulExecutions)
The list of triggers that were successfully tested.
|
TestRepositoryTriggersResult |
withSuccessfulExecutions(java.lang.String... successfulExecutions)
The list of triggers that were successfully tested.
|
private java.util.List<java.lang.String> successfulExecutions
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
private java.util.List<RepositoryTriggerExecutionFailure> failedExecutions
The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
public java.util.List<java.lang.String> getSuccessfulExecutions()
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
public void setSuccessfulExecutions(java.util.Collection<java.lang.String> successfulExecutions)
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
successfulExecutions
- The list of triggers that were successfully tested. This list
provides the names of the triggers that were successfully tested,
separated by commas.public TestRepositoryTriggersResult withSuccessfulExecutions(java.lang.String... successfulExecutions)
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
NOTE: This method appends the values to the existing list (if
any). Use setSuccessfulExecutions(java.util.Collection)
or
withSuccessfulExecutions(java.util.Collection)
if you want to
override the existing values.
successfulExecutions
- The list of triggers that were successfully tested. This list
provides the names of the triggers that were successfully tested,
separated by commas.public TestRepositoryTriggersResult withSuccessfulExecutions(java.util.Collection<java.lang.String> successfulExecutions)
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
successfulExecutions
- The list of triggers that were successfully tested. This list
provides the names of the triggers that were successfully tested,
separated by commas.public java.util.List<RepositoryTriggerExecutionFailure> getFailedExecutions()
The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
public void setFailedExecutions(java.util.Collection<RepositoryTriggerExecutionFailure> failedExecutions)
The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
failedExecutions
- The list of triggers that were not able to be tested. This list
provides the names of the triggers that could not be tested,
separated by commas.public TestRepositoryTriggersResult withFailedExecutions(RepositoryTriggerExecutionFailure... failedExecutions)
The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
NOTE: This method appends the values to the existing list (if
any). Use setFailedExecutions(java.util.Collection)
or
withFailedExecutions(java.util.Collection)
if you want to
override the existing values.
failedExecutions
- The list of triggers that were not able to be tested. This list
provides the names of the triggers that could not be tested,
separated by commas.public TestRepositoryTriggersResult withFailedExecutions(java.util.Collection<RepositoryTriggerExecutionFailure> failedExecutions)
The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
failedExecutions
- The list of triggers that were not able to be tested. This list
provides the names of the triggers that could not be tested,
separated by commas.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TestRepositoryTriggersResult clone()
clone
in class java.lang.Object