com.xebialabs.deployit.deployment.rules
Class ScriptRule
java.lang.Object
com.xebialabs.deployit.deployment.rules.Rule
com.xebialabs.deployit.deployment.rules.ScriptRule
public class ScriptRule
- extends Rule
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptRule
public ScriptRule(java.lang.String name,
Scope scope)
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:
- For scope = 'deployed' it is a udm.Deployed
- For scope = 'plan' it is a Deltas object
- For scope = 'pre-plan' or scope = 'post-plan' it is a DeltaSpecification object
- Specified by:
fire in class Rule
setScript
public void setScript(java.lang.String script)
getScript
public java.lang.String getScript()