com.xebialabs.deployit.deployment.rules
Class ScriptRule

java.lang.Object
  extended by com.xebialabs.deployit.deployment.rules.Rule
      extended by com.xebialabs.deployit.deployment.rules.ScriptRule

public class ScriptRule
extends Rule


Field Summary
 
Fields inherited from class com.xebialabs.deployit.deployment.rules.Rule
enabled, name, scope
 
Constructor Summary
ScriptRule(java.lang.String name, Scope scope)
           
 
Method Summary
 void fire(java.lang.Object scopedObject, com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext context)
          Fire this rule for a scoped object.
 java.lang.String getScript()
           
 void setScript(java.lang.String script)
           
 
Methods inherited from class com.xebialabs.deployit.deployment.rules.Rule
disable, getName, getScope, isEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptRule

public ScriptRule(java.lang.String name,
                  Scope scope)
Method Detail

fire

public void fire(java.lang.Object scopedObject,
                 com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext context)
Description copied from class: Rule
Fire this rule for a scoped object. The scopedObject depends on the Scope and is one of the following:

Specified by:
fire in class Rule

setScript

public void setScript(java.lang.String script)

getScript

public java.lang.String getScript()