com.xebialabs.deployit.steps
Class RunSqlScriptOnDatabaseStep

java.lang.Object
  extended by com.xebialabs.deployit.steps.RunSqlScriptOnDatabaseStep
All Implemented Interfaces:
Step, java.io.Serializable

public class RunSqlScriptOnDatabaseStep
extends java.lang.Object
implements Step

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
           
 
Constructor Summary
RunSqlScriptOnDatabaseStep(Database client, SqlScript script)
           
 
Method Summary
 boolean execute(StepExecutionContext ctx)
           
 java.lang.String getDescription()
          Returns a description of what this step will really do on execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.lang.String description
Constructor Detail

RunSqlScriptOnDatabaseStep

public RunSqlScriptOnDatabaseStep(Database client,
                                  SqlScript script)
Method Detail

execute

public boolean execute(StepExecutionContext ctx)
Specified by:
execute in interface Step
Parameters:
ctx - Context info required to execute the step.
Returns:
execution successful or failed.

getDescription

public java.lang.String getDescription()
Description copied from interface: Step
Returns a description of what this step will really do on execution.

Specified by:
getDescription in interface Step
Returns:
the description.


Copyright © 2010. All Rights Reserved.