Interface DeploymentEventsStore<T,S>
- Type Parameters:
T
- The type to hold the eventsS
- The type to store the events
- All Known Implementing Classes:
FileBasedDeploymentEventsStore
public interface DeploymentEventsStore<T,S>
Stores the deployment events for a target.
- Since:
- 3.1.8
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptionProvides access to the underlaying storage objectloadDeploymentEvents
(Target target) Loads the deployment events for the given target.void
saveDeploymentEvents
(Target target, T deploymentEvents) Saves the deployment events for the given target.
-
Method Details
-
loadDeploymentEvents
Loads the deployment events for the given target.- Parameters:
target
- the target- Returns:
- the existing deployment events
- Throws:
DeployerException
- if there is any error loading the deployment events
-
saveDeploymentEvents
Saves the deployment events for the given target.- Parameters:
target
- the targetdeploymentEvents
- the new deployment events- Throws:
DeployerException
- if there is any error saving the deployment events
-
getSource
Provides access to the underlaying storage object- Parameters:
target
- the target- Returns:
- the storage object
-