Class PlanKeyResultDeletionSQLAdapter
java.lang.Object
com.atlassian.bamboo.resultsummary.PlanKeyResultDeletionSQLAdapter
- All Implemented Interfaces:
DeletionSQLAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the string value of the object we're querying for.Condition used in a WHEN clause in BUILDRESULTSUMMARY eg.Inner condition used in a WHEN BUILDRESULTSUMMARY_ID IN e.g.void
setObjectInStatement
(PreparedStatement statement, int index) Sets the current object in the statement given the right index
-
Constructor Details
-
PlanKeyResultDeletionSQLAdapter
-
-
Method Details
-
getResultSummaryDeleteWhenCondition
Description copied from interface:DeletionSQLAdapter
Condition used in a WHEN clause in BUILDRESULTSUMMARY eg. "delete from BUILDRESULTSUMMARY where " + getResultSummaryDeleteCondition()- Specified by:
getResultSummaryDeleteWhenCondition
in interfaceDeletionSQLAdapter
- Returns:
-
getResultSummaryInCondition
Description copied from interface:DeletionSQLAdapter
Inner condition used in a WHEN BUILDRESULTSUMMARY_ID IN e.g. "delete from REPOSITORY_CHANGESET where BUILDRESULTSUMMARY_ID in " + getResultSummaryInCondition()- Specified by:
getResultSummaryInCondition
in interfaceDeletionSQLAdapter
- Returns:
-
getObjectId
Description copied from interface:DeletionSQLAdapter
Returns the string value of the object we're querying for. Used for logging.- Specified by:
getObjectId
in interfaceDeletionSQLAdapter
- Returns:
-
setObjectInStatement
Description copied from interface:DeletionSQLAdapter
Sets the current object in the statement given the right index- Specified by:
setObjectInStatement
in interfaceDeletionSQLAdapter
- Throws:
SQLException
-