com.xebialabs.deployit.plugin.was.runbook
Class WasServerRunBook

java.lang.Object
  extended by com.xebialabs.deployit.util.SingleTypeHandlingRunBook<WasServer>
      extended by com.xebialabs.deployit.plugin.was.runbook.WasServerRunBook
All Implemented Interfaces:
com.xebialabs.deployit.RunBook

public class WasServerRunBook
extends com.xebialabs.deployit.util.SingleTypeHandlingRunBook<WasServer>
implements com.xebialabs.deployit.RunBook

Supports the creation, modification and deletion of a WAS Server.

Conditions

Will trigger if the change plan contains the addition, modification or deletion of a WAS Server CI.

Actions

Addition:
  1. Create server in the node
  2. Synchronize the node
  3. Start server
Modification:
  1. The server is stopped
  2. Modify server
  3. Synchronize the node
  4. Start server
Deletion:
  1. Stop the server
  2. Destroy the server
  3. Synchronize the node


Constructor Summary
WasServerRunBook()
           
 
Method Summary
private  com.xebialabs.deployit.Change<com.xebialabs.deployit.ci.Deployment> findChangeForModifiedDeploymentOfModifiedServer(com.xebialabs.deployit.Change<WasServer> serverChange, com.xebialabs.deployit.ChangePlan changePlan)
           
 void getStepsForModifiedServer(java.util.List<com.xebialabs.deployit.Step> steps, WasServer oldServer, WasServer newServer)
           
private  boolean modificationWillBeHandledByWasDeploymentRunBook(com.xebialabs.deployit.Change<WasServer> serverChange, com.xebialabs.deployit.ChangePlan changePlan)
           
 void resolve(com.xebialabs.deployit.Change<WasServer> change, com.xebialabs.deployit.ChangePlan changePlan, java.util.List<com.xebialabs.deployit.Step> steps)
           
 
Methods inherited from class com.xebialabs.deployit.util.SingleTypeHandlingRunBook
resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.RunBook
resolve
 

Constructor Detail

WasServerRunBook

public WasServerRunBook()
Method Detail

resolve

public void resolve(com.xebialabs.deployit.Change<WasServer> change,
                    com.xebialabs.deployit.ChangePlan changePlan,
                    java.util.List<com.xebialabs.deployit.Step> steps)
Specified by:
resolve in class com.xebialabs.deployit.util.SingleTypeHandlingRunBook<WasServer>

getStepsForModifiedServer

public void getStepsForModifiedServer(java.util.List<com.xebialabs.deployit.Step> steps,
                                      WasServer oldServer,
                                      WasServer newServer)

modificationWillBeHandledByWasDeploymentRunBook

private boolean modificationWillBeHandledByWasDeploymentRunBook(com.xebialabs.deployit.Change<WasServer> serverChange,
                                                                com.xebialabs.deployit.ChangePlan changePlan)

findChangeForModifiedDeploymentOfModifiedServer

private com.xebialabs.deployit.Change<com.xebialabs.deployit.ci.Deployment> findChangeForModifiedDeploymentOfModifiedServer(com.xebialabs.deployit.Change<WasServer> serverChange,
                                                                                                                            com.xebialabs.deployit.ChangePlan changePlan)


Copyright © 2010. All Rights Reserved.