Groovy Documentation

org.linkedin.glu.orchestration.engine.action.descriptor
[Groovy] Class DefaultActionDescriptorAdjuster

java.lang.Object
  org.linkedin.glu.orchestration.engine.action.descriptor.DefaultActionDescriptorAdjuster
All Implemented Interfaces:
ActionDescriptorAdjuster

class DefaultActionDescriptorAdjuster

Authors:
yan@pongasoft.com


Field Summary
static DefaultActionDescriptorAdjuster INSTANCE

 
Method Summary
protected InternalActionDescriptor adjust(InternalActionDescriptor actionDescriptor)

Default one when no other type found: nothing to do

protected InternalActionDescriptor adjust(NoOpActionDescriptor ad)

For noop

protected InternalActionDescriptor adjust(ScriptLifecycleInstallActionDescriptor ad)

For installScript

protected InternalActionDescriptor adjust(ScriptTransitionActionDescriptor ad)

For transition: action->toState

protected InternalActionDescriptor adjust(ScriptLifecycleUninstallActionDescriptor ad)

For uninstallScript.

InternalActionDescriptor adjustDescriptor(InternalSystemModelDelta systemModelDelta, InternalActionDescriptor actionDescriptor)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

INSTANCE

public static final DefaultActionDescriptorAdjuster INSTANCE


 
Method Detail

adjust

protected InternalActionDescriptor adjust(InternalActionDescriptor actionDescriptor)
Default one when no other type found: nothing to do


adjust

protected InternalActionDescriptor adjust(NoOpActionDescriptor ad)
For noop


adjust

protected InternalActionDescriptor adjust(ScriptLifecycleInstallActionDescriptor ad)
For installScript


adjust

protected InternalActionDescriptor adjust(ScriptTransitionActionDescriptor ad)
For transition: action->toState


adjust

protected InternalActionDescriptor adjust(ScriptLifecycleUninstallActionDescriptor ad)
For uninstallScript.


adjustDescriptor

@Override
InternalActionDescriptor adjustDescriptor(InternalSystemModelDelta systemModelDelta, InternalActionDescriptor actionDescriptor)


 

Groovy Documentation