com.xebialabs.deployit.util
Class SingleTypeHandlingRunBook<T extends java.io.Serializable>

java.lang.Object
  extended by com.xebialabs.deployit.util.SingleTypeHandlingRunBook<T>
All Implemented Interfaces:
RunBook
Direct Known Subclasses:
HostConnectionRunbook

public abstract class SingleTypeHandlingRunBook<T extends java.io.Serializable>
extends java.lang.Object
implements RunBook


Constructor Summary
SingleTypeHandlingRunBook(java.lang.Class<T> ciType)
           
 
Method Summary
protected abstract  void resolve(Change<T> change, ChangePlan changePlan, java.util.List<Step> steps)
           
 java.util.Collection<ChangeResolution> resolve(ChangePlan changePlan)
          Invoked by the Deployit core when the changes in a changeplan have been modified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleTypeHandlingRunBook

public SingleTypeHandlingRunBook(java.lang.Class<T> ciType)
Method Detail

resolve

public java.util.Collection<ChangeResolution> resolve(ChangePlan changePlan)
Description copied from interface: RunBook
Invoked by the Deployit core when the changes in a changeplan have been modified. The implementation of this interface should resolve the changes into a collection of ChangeResolutions.

Specified by:
resolve in interface RunBook
Parameters:
changePlan - the changeplan to resolve
Returns:
a collection of ChangeResolutions that represent what needs to be done to make the changes happen.

resolve

protected abstract void resolve(Change<T> change,
                                ChangePlan changePlan,
                                java.util.List<Step> steps)


Copyright © 2010. All Rights Reserved.