Class TestRepositoryTriggersResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a test repository triggers operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of triggers that were not able to be tested.The list of triggers that were successfully tested.int
hashCode()
void
setFailedExecutions
(Collection<RepositoryTriggerExecutionFailure> failedExecutions) The list of triggers that were not able to be tested.void
setSuccessfulExecutions
(Collection<String> successfulExecutions) The list of triggers that were successfully tested.toString()
Returns a string representation of this object; useful for testing and debugging.withFailedExecutions
(RepositoryTriggerExecutionFailure... failedExecutions) The list of triggers that were not able to be tested.withFailedExecutions
(Collection<RepositoryTriggerExecutionFailure> failedExecutions) The list of triggers that were not able to be tested.withSuccessfulExecutions
(String... successfulExecutions) The list of triggers that were successfully tested.withSuccessfulExecutions
(Collection<String> successfulExecutions) The list of triggers that were successfully tested.
-
Constructor Details
-
TestRepositoryTriggersResult
public TestRepositoryTriggersResult()
-
-
Method Details
-
getSuccessfulExecutions
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
- Returns:
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
-
setSuccessfulExecutions
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
- Parameters:
successfulExecutions
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
-
withSuccessfulExecutions
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)
orwithSuccessfulExecutions(java.util.Collection)
if you want to override the existing values.- Parameters:
successfulExecutions
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSuccessfulExecutions
public TestRepositoryTriggersResult withSuccessfulExecutions(Collection<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.
- Parameters:
successfulExecutions
- The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setFailedExecutions
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.
- Parameters:
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.
-
withFailedExecutions
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)
orwithFailedExecutions(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailedExecutions
public TestRepositoryTriggersResult withFailedExecutions(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-