Class DeliveryPatternApiImpl
java.lang.Object
com.xebialabs.xlrelease.api.v1.impl.DeliveryPatternApiImpl
- All Implemented Interfaces:
com.xebialabs.xlrelease.api.ApiService,com.xebialabs.xlrelease.api.v1.DeliveryPatternApi
@Controller
public class DeliveryPatternApiImpl
extends Object
implements com.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
Field Summary
Fields inherited from interface com.xebialabs.xlrelease.api.ApiService
DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATA -
Constructor Summary
ConstructorsConstructorDescriptionDeliveryPatternApiImpl(com.xebialabs.xlrelease.delivery.actors.DeliveryActorService deliveryActorService, com.xebialabs.xlrelease.delivery.service.DeliveryPatternService deliveryPatternService, com.xebialabs.xlrelease.delivery.service.DeliveryExecutionService deliveryExecutionService, com.xebialabs.xlrelease.delivery.security.DeliveryPermissionChecker permissions) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckTitleUnique(com.xebialabs.xlrelease.api.v1.forms.ValidatePattern validation) com.xebialabs.xlrelease.domain.delivery.DeliverycreateDeliveryFromPattern(String patternId, com.xebialabs.xlrelease.api.v1.forms.CreateDelivery createDelivery) com.xebialabs.xlrelease.domain.delivery.DeliverycreatePattern(com.xebialabs.xlrelease.domain.delivery.Delivery pattern) com.xebialabs.xlrelease.domain.delivery.StagecreateStage(String patternId, com.xebialabs.xlrelease.api.v1.forms.CreateDeliveryStage form) com.xebialabs.xlrelease.domain.delivery.StagecreateStage(String patternId, com.xebialabs.xlrelease.domain.delivery.Stage stage) com.xebialabs.xlrelease.domain.delivery.StagecreateStage(String patternId, com.xebialabs.xlrelease.domain.delivery.Stage stage, Integer position) com.xebialabs.xlrelease.domain.delivery.TrackedItemcreateTrackedItem(String patternId, com.xebialabs.xlrelease.domain.delivery.TrackedItem item) com.xebialabs.xlrelease.domain.delivery.TransitioncreateTransition(String stageId, com.xebialabs.xlrelease.domain.delivery.Transition transition) voiddeletePattern(String patternId) voiddeleteStage(String stageId) voiddeleteTrackedItem(String itemId) voiddeleteTransition(String transitionId) com.xebialabs.xlrelease.domain.delivery.DeliveryduplicatePattern(String patternId, com.xebialabs.xlrelease.api.v1.forms.DuplicateDeliveryPattern duplicateDeliveryPattern) com.xebialabs.xlrelease.domain.delivery.DeliverygetPattern(String patternId) com.xebialabs.xlrelease.domain.delivery.DeliverygetPatternByIdOrTitle(String patternIdOrTitle) List<com.xebialabs.xlrelease.domain.delivery.Stage>List<com.xebialabs.xlrelease.domain.delivery.TrackedItem>getTrackedItems(String patternId) List<com.xebialabs.xlrelease.domain.delivery.Delivery>searchPatterns(com.xebialabs.xlrelease.api.v1.forms.DeliveryPatternFilters filters) List<com.xebialabs.xlrelease.domain.delivery.Delivery>searchPatterns(com.xebialabs.xlrelease.api.v1.forms.DeliveryPatternFilters filters, Long page, Long resultsPerPage) com.xebialabs.xlrelease.domain.delivery.DeliveryupdatePattern(com.xebialabs.xlrelease.domain.delivery.Delivery pattern) com.xebialabs.xlrelease.domain.delivery.DeliveryupdatePattern(String patternId, com.xebialabs.xlrelease.domain.delivery.Delivery pattern) com.xebialabs.xlrelease.domain.delivery.StageupdateStage(com.xebialabs.xlrelease.domain.delivery.Stage stage) com.xebialabs.xlrelease.domain.delivery.StageupdateStage(String stageId, com.xebialabs.xlrelease.domain.delivery.Stage stage) com.xebialabs.xlrelease.domain.delivery.StageupdateStageFromBatch(String stageId, com.xebialabs.xlrelease.domain.delivery.Stage stage) com.xebialabs.xlrelease.domain.delivery.TrackedItemupdateTrackedItem(com.xebialabs.xlrelease.domain.delivery.TrackedItem item) com.xebialabs.xlrelease.domain.delivery.TrackedItemupdateTrackedItem(String itemId, com.xebialabs.xlrelease.domain.delivery.TrackedItem item) com.xebialabs.xlrelease.domain.delivery.TransitionupdateTransition(com.xebialabs.xlrelease.domain.delivery.Transition transition) com.xebialabs.xlrelease.domain.delivery.TransitionupdateTransition(String transitionId, com.xebialabs.xlrelease.domain.delivery.Transition transition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.xlrelease.api.v1.DeliveryPatternApi
serviceName
-
Constructor Details
-
DeliveryPatternApiImpl
@Autowired public DeliveryPatternApiImpl(com.xebialabs.xlrelease.delivery.actors.DeliveryActorService deliveryActorService, com.xebialabs.xlrelease.delivery.service.DeliveryPatternService deliveryPatternService, com.xebialabs.xlrelease.delivery.service.DeliveryExecutionService deliveryExecutionService, com.xebialabs.xlrelease.delivery.security.DeliveryPermissionChecker permissions)
-
-
Method Details
-
createPattern
public com.xebialabs.xlrelease.domain.delivery.Delivery createPattern(com.xebialabs.xlrelease.domain.delivery.Delivery pattern) - Specified by:
createPatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
getPattern
- Specified by:
getPatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
getPatternByIdOrTitle
public com.xebialabs.xlrelease.domain.delivery.Delivery getPatternByIdOrTitle(String patternIdOrTitle) - Specified by:
getPatternByIdOrTitlein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
checkTitleUnique
public boolean checkTitleUnique(com.xebialabs.xlrelease.api.v1.forms.ValidatePattern validation) - Specified by:
checkTitleUniquein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updatePattern
public com.xebialabs.xlrelease.domain.delivery.Delivery updatePattern(String patternId, com.xebialabs.xlrelease.domain.delivery.Delivery pattern) - Specified by:
updatePatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updatePattern
public com.xebialabs.xlrelease.domain.delivery.Delivery updatePattern(com.xebialabs.xlrelease.domain.delivery.Delivery pattern) - Specified by:
updatePatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
deletePattern
- Specified by:
deletePatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
duplicatePattern
public com.xebialabs.xlrelease.domain.delivery.Delivery duplicatePattern(String patternId, com.xebialabs.xlrelease.api.v1.forms.DuplicateDeliveryPattern duplicateDeliveryPattern) - Specified by:
duplicatePatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createDeliveryFromPattern
public com.xebialabs.xlrelease.domain.delivery.Delivery createDeliveryFromPattern(String patternId, com.xebialabs.xlrelease.api.v1.forms.CreateDelivery createDelivery) - Specified by:
createDeliveryFromPatternin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
searchPatterns
public List<com.xebialabs.xlrelease.domain.delivery.Delivery> searchPatterns(com.xebialabs.xlrelease.api.v1.forms.DeliveryPatternFilters filters, Long page, Long resultsPerPage) - Specified by:
searchPatternsin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
searchPatterns
public List<com.xebialabs.xlrelease.domain.delivery.Delivery> searchPatterns(com.xebialabs.xlrelease.api.v1.forms.DeliveryPatternFilters filters) - Specified by:
searchPatternsin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createStage
public com.xebialabs.xlrelease.domain.delivery.Stage createStage(String patternId, com.xebialabs.xlrelease.domain.delivery.Stage stage) - Specified by:
createStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createStage
public com.xebialabs.xlrelease.domain.delivery.Stage createStage(String patternId, com.xebialabs.xlrelease.domain.delivery.Stage stage, Integer position) - Specified by:
createStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createStage
public com.xebialabs.xlrelease.domain.delivery.Stage createStage(String patternId, com.xebialabs.xlrelease.api.v1.forms.CreateDeliveryStage form) - Specified by:
createStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
getStages
- Specified by:
getStagesin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateStage
public com.xebialabs.xlrelease.domain.delivery.Stage updateStage(com.xebialabs.xlrelease.domain.delivery.Stage stage) - Specified by:
updateStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateStage
public com.xebialabs.xlrelease.domain.delivery.Stage updateStage(String stageId, com.xebialabs.xlrelease.domain.delivery.Stage stage) - Specified by:
updateStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateStageFromBatch
public com.xebialabs.xlrelease.domain.delivery.Stage updateStageFromBatch(String stageId, com.xebialabs.xlrelease.domain.delivery.Stage stage) - Specified by:
updateStageFromBatchin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
deleteStage
- Specified by:
deleteStagein interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createTransition
public com.xebialabs.xlrelease.domain.delivery.Transition createTransition(String stageId, com.xebialabs.xlrelease.domain.delivery.Transition transition) - Specified by:
createTransitionin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateTransition
public com.xebialabs.xlrelease.domain.delivery.Transition updateTransition(String transitionId, com.xebialabs.xlrelease.domain.delivery.Transition transition) - Specified by:
updateTransitionin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateTransition
public com.xebialabs.xlrelease.domain.delivery.Transition updateTransition(com.xebialabs.xlrelease.domain.delivery.Transition transition) - Specified by:
updateTransitionin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
deleteTransition
- Specified by:
deleteTransitionin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
createTrackedItem
public com.xebialabs.xlrelease.domain.delivery.TrackedItem createTrackedItem(String patternId, com.xebialabs.xlrelease.domain.delivery.TrackedItem item) - Specified by:
createTrackedItemin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
getTrackedItems
- Specified by:
getTrackedItemsin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateTrackedItem
public com.xebialabs.xlrelease.domain.delivery.TrackedItem updateTrackedItem(String itemId, com.xebialabs.xlrelease.domain.delivery.TrackedItem item) - Specified by:
updateTrackedItemin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
updateTrackedItem
public com.xebialabs.xlrelease.domain.delivery.TrackedItem updateTrackedItem(com.xebialabs.xlrelease.domain.delivery.TrackedItem item) - Specified by:
updateTrackedItemin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-
deleteTrackedItem
- Specified by:
deleteTrackedItemin interfacecom.xebialabs.xlrelease.api.v1.DeliveryPatternApi
-